/* Mail10Min dark glass UI */
:root{
  --bg1:#0b1320;
  --bg2:#061018;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --green: #3df2a0;
  --green2:#17c97a;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 30% 10%, rgba(46, 255, 200, .12), transparent 55%),
              radial-gradient(900px 500px at 70% 20%, rgba(118, 86, 255, .14), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(800px 420px at 30% 15%, rgba(55, 255, 190, .16), transparent 60%),
    radial-gradient(780px 520px at 70% 20%, rgba(137, 92, 255, .18), transparent 60%),
    radial-gradient(1200px 700px at 50% 100%, rgba(0,0,0,.35), transparent 60%);
  pointer-events:none;
}

.wrap{
  width:min(1100px, calc(100% - 28px));
  margin: 22px auto 26px;
}

.topbar{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand{ display:flex; align-items:center; gap:12px; }
.bolt{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(61, 242, 160, .14);
  border:1px solid rgba(61, 242, 160, .22);
}
.brandTitle{ font-weight:800; letter-spacing:.2px; }
.brandSub{ font-size:12px; color:var(--muted); margin-top:2px; }

.topActions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.pill{
  display:flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.15);
  font-size: 12px;
}
.dot{ width:8px; height:8px; border-radius:99px; background:#ff4d4d; box-shadow:0 0 14px rgba(255,77,77,.35); }

.select{
  padding: 9px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}

.btn{
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(0,0,0,.26); }
.btn:active{ transform: translateY(0px); }
.btn.primary{ background: rgba(61, 242, 160, .14); border-color: rgba(61, 242, 160, .24); }
.btn.mini{ padding: 7px 10px; font-size: 12px; }

.row{ display:flex; gap:16px; margin-top:16px; }
.row1{ align-items:stretch; }
.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cardInbox{ flex: 1 1 auto; padding: 16px; min-width: 0; }
.cardAd{ width: 290px; padding: 16px; }
.cardPreview{ width: 100%; padding: 16px; }

.cardHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.h1{ font-size: 22px; font-weight: 800; }
.h2{ font-size: 16px; font-weight: 800; }
.muted{ color: var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.expires{ font-size: 12px; }

.mailBox{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.14);
}
.mailText{ word-break: break-all; }

.otpRow{
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(61, 242, 160, .18);
  background: rgba(61, 242, 160, .06);
  position:relative;
}
.otpBig{
  font-size: 44px;
  font-weight: 900;
  letter-spacing: .6px;
  line-height: 1.05;
  margin-top: 6px;
  color: rgba(140, 220, 255, .92);
  text-shadow: 0 10px 30px rgba(0,0,0,.30);
}
.hint{ margin-top: 6px; font-size: 12px; }

.inboxList{
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.listHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.items{ display:flex; flex-direction:column; gap:8px; }
.item{
  padding: 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
  cursor:pointer;
}
.item:hover{ background: rgba(0,0,0,.16); }
.itemTop{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.itemSub{ margin-top:4px; font-size: 12px; color: var(--muted); word-break:break-word; }
.badge{
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(61, 242, 160, .20);
  background: rgba(61, 242, 160, .10);
  color: rgba(61, 242, 160, .95);
  font-weight: 800;
  white-space: nowrap;
}
.empty{ padding: 10px; }

.adBox{
  margin-top: 10px;
  border-radius: 14px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.12);
  padding: 10px;
  min-height: 250px;
}

.previewActions{ display:flex; gap:8px; }
.previewBox{
  margin-top: 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
  min-height: 380px;
  padding: 12px;
  overflow:auto;
}
.previewBox iframe{
  width:100%;
  height: 380px;
  border:0;
  border-radius: 12px;
  background:white;
}
pre{
  margin:0;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255,255,255,.88);
}

.footer{
  margin-top: 14px;
  display:flex;
  justify-content:space-between;
  padding: 10px 6px;
  font-size: 12px;
}

@media (max-width: 980px){
  .row1{ flex-direction:column; }
  .cardAd{ width: 100%; }
  .otpBig{ font-size: 38px; }
}
