:root{--bg:#020812;--panel:#071326;--panel2:#0b1c36;--line:rgba(56,189,248,.22);--blue:#20b8ff;--blue2:#1768f4;--purple:#9333ea;--text:#f8fafc;--muted:#9fb0c7;--green:#22c55e;--danger:#ef4444}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at 20% 0,rgba(14,165,233,.12),transparent 34%),radial-gradient(circle at 88% 15%,rgba(147,51,234,.12),transparent 30%),var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input{font:inherit}.shell{min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);background:rgba(1,10,20,.88);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center}.brandLogo{display:flex;flex-direction:column;align-items:center;line-height:1}.brand img {
    height: 75px;
    max-width: 425px;
    object-fit: contain;
    filter: drop-shadow(0 0 -4px rgba(0,170,255,.4));
}.brandVersion{margin-top:5px;color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.35px;text-shadow:0 0 10px rgba(32,184,255,.35)}.topActions{display:flex;align-items:center;gap:10px}.pill{border:1px solid var(--line);background:rgba(2,6,23,.55);padding:10px 14px;border-radius:11px;color:#dbeafe}.authPage{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.authHero{padding:90px max(35px,7vw);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.authHero:after{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(56,189,248,.08);border-radius:50%;right:-180px;top:10%;box-shadow:0 0 100px rgba(14,165,233,.08)}.eyebrow{color:var(--blue);font-weight:800;text-transform:uppercase;letter-spacing:1.5px}.authHero h1{font-size:clamp(48px,7vw,84px);line-height:.98;margin:16px 0}.gradient{background:linear-gradient(90deg,#20d6ff,#1768f4,#a855f7);-webkit-background-clip:text;background-clip:text;color:transparent}.authHero p{font-size:20px;color:#d6e2f0;line-height:1.6;max-width:650px}.heroFeatures{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.feature{padding:16px;border:1px solid var(--line);border-radius:14px;background:rgba(7,19,38,.62)}.feature b{display:block;color:#eaf7ff;margin-bottom:5px}.feature small{color:var(--muted)}.authSide{display:grid;place-items:center;padding:35px}.authCard{width:min(520px,100%);padding:32px;border:1px solid rgba(56,189,248,.48);border-radius:25px;background:linear-gradient(180deg,rgba(11,28,54,.96),rgba(4,11,25,.98));box-shadow:0 30px 90px rgba(0,0,0,.55),0 0 35px rgba(14,165,233,.16)}.authCard h2{margin:0 0 8px;font-size:30px}.authCard>p{margin:0 0 24px;color:var(--muted)}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:22px}.tab{padding:12px;border-radius:10px;text-align:center;border:1px solid var(--line);color:#b9c9dc}.tab.active{background:rgba(37,99,235,.22);border-color:var(--blue);color:#fff}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:800;color:#bfdbfe;margin-bottom:7px}.inputWrap{display:flex;align-items:stretch}.inputWrap input,.field input{width:100%;height:50px;border:1px solid rgba(148,163,184,.35);background:rgba(2,6,23,.78);color:#fff;border-radius:11px;padding:0 14px;outline:none}.inputWrap input{border-radius:11px 0 0 11px}.suffix{display:flex;align-items:center;padding:0 12px;background:#0a1830;border:1px solid rgba(148,163,184,.35);border-left:0;border-radius:0 11px 11px 0;color:#90cfee;font-size:13px}.field input:focus,.inputWrap input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12)}.btn{width:100%;height:50px;border:0;border-radius:11px;color:#fff;font-weight:900;cursor:pointer;background:linear-gradient(90deg,#0ea5e9,#2563eb,#9333ea);box-shadow:0 12px 32px rgba(37,99,235,.25)}.btn:hover{filter:brightness(1.08)}.msg{padding:12px 14px;border-radius:10px;margin-bottom:16px;line-height:1.45;font-size:13px}.msg.error{background:rgba(127,29,29,.45);border:1px solid rgba(239,68,68,.45);color:#fecaca}.msg.success{background:rgba(20,83,45,.35);border:1px solid rgba(34,197,94,.4);color:#bbf7d0}.fine{font-size:12px;color:#8192a9;line-height:1.5;margin-top:15px}.mailLayout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 78px)}.sidebar{border-right:1px solid var(--line);background:rgba(3,12,25,.88);padding:20px 14px}.compose{display:block;text-align:center;padding:14px;border-radius:12px;background:linear-gradient(90deg,#0ea5e9,#2563eb);font-weight:900;margin-bottom:20px}.navList{display:grid;gap:5px}.navItem{padding:12px 14px;border-radius:10px;color:#c7d5e5;display:flex;justify-content:space-between}.navItem:hover,.navItem.active{background:rgba(37,99,235,.17);color:#fff}.storage{margin-top:28px;padding:14px;border:1px solid var(--line);border-radius:13px;background:rgba(7,19,38,.55)}.storageTop{display:flex;justify-content:space-between;font-size:12px;color:#b8c6d8}.bar{height:7px;background:#111d30;border-radius:99px;margin:10px 0;overflow:hidden}.bar>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0ea5e9,#9333ea)}.content{padding:24px;min-width:0}.mailHead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.mailHead h1{margin:0;font-size:28px}.search{width:min(420px,100%);height:44px;border:1px solid var(--line);background:#061225;border-radius:11px;padding:0 14px;color:#fff}.mailPanel{border:1px solid var(--line);border-radius:18px;background:rgba(7,19,38,.72);min-height:520px;overflow:hidden}.toolbar{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px;color:#9fb0c7}.empty{min-height:460px;display:grid;place-items:center;text-align:center;padding:30px}.emptyIcon{font-size:58px;margin-bottom:12px}.empty h2{margin:0 0 8px}.empty p{color:var(--muted);max-width:440px}.mobileToggle{display:none}.userMenu{font-weight:700;color:#dbeafe}.logout{color:#fca5a5}
@media(max-width:900px){.authPage{grid-template-columns:1fr}.authHero{padding:55px 25px 20px;text-align:center}.authHero p{margin-left:auto;margin-right:auto}.heroFeatures{grid-template-columns:1fr}.authSide{padding:20px 16px 45px}.mailLayout{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;top:78px;bottom:0;width:250px;z-index:25;transition:.2s}.sidebar.open{left:0}.mobileToggle{display:inline-flex}.content{padding:16px}.mailHead{align-items:stretch;flex-direction:column}.topbar{padding:0 14px}@media (max-width: 900px) {
    .brand img {
        height: 70px;
        max-width: 400px;
    }
}.brandVersion{font-size:11px;margin-top:3px}.topActions .pill:not(.mobileToggle){display:none}}
.muted{color:var(--muted);margin-top:5px}.toolbar{justify-content:space-between;gap:14px}.toolbar a,.toolbar button{color:#bcd7ee;background:none;border:0;cursor:pointer}.messageList{display:grid}.messageRow{display:grid;grid-template-columns:34px minmax(150px,230px) minmax(220px,1fr) 135px;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid rgba(56,189,248,.1);color:#c9d7e7}.messageRow:hover{background:rgba(37,99,235,.11)}.messageRow.unread{background:rgba(14,165,233,.075);color:#fff}.messageRow.unread .subject b{font-weight:900}.star{color:#facc15;font-size:18px}.sender{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject{min-width:0;display:flex;gap:9px;align-items:baseline}.subject b,.subject small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject small{color:#8093aa}.date{text-align:right;color:#8ea1b8;font-size:12px}.composePanel{padding:24px}.composeForm{max-width:920px}.field textarea{width:100%;border:1px solid rgba(148,163,184,.35);background:rgba(2,6,23,.78);color:#fff;border-radius:11px;padding:14px;outline:none;resize:vertical}.field textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12)}.formActions{display:flex;gap:10px;flex-wrap:wrap}.autoWidth{width:auto;padding:0 24px}.secondaryBtn,.dangerBtn{height:50px;padding:0 20px;border-radius:11px;border:1px solid var(--line);background:#0b1c36;color:#fff;font-weight:800;cursor:pointer}.dangerBtn{border-color:rgba(239,68,68,.42);color:#fecaca}.readPanel{min-height:400px}.inlineForm{display:flex;gap:8px;flex-wrap:wrap}.messageMeta{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.messageMeta span{color:var(--muted)}.messageBody{padding:28px 24px;line-height:1.75;color:#e5edf7;white-space:normal}.settingsGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settingsCard{border:1px solid var(--line);background:rgba(7,19,38,.72);border-radius:18px;padding:24px}.settingsCard h2{margin-top:0}.storage small{color:#8192a9}
@media(max-width:760px){.messageRow{grid-template-columns:28px minmax(0,1fr) 90px}.messageRow .sender{grid-column:2}.messageRow .subject{grid-column:2;grid-row:2;display:block}.messageRow .subject small{display:block;margin-top:4px}.messageRow .date{grid-column:3;grid-row:1}.settingsGrid{grid-template-columns:1fr}.messageMeta{flex-direction:column}.inlineForm{width:100%}.toolbar{align-items:flex-start;flex-direction:column}}

/* Update 004 – egységes, kétpaneles postafiók */
.content{padding:0;overflow:hidden}.mailWorkspace{display:grid;grid-template-columns:minmax(430px,42%) minmax(0,1fr);min-height:calc(100vh - 78px)}.mailColumn{min-width:0;background:rgba(2,9,20,.62)}.mailListColumn{border-right:1px solid var(--line)}.mailColumnHead{min-height:96px;padding:22px 24px 16px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(56,189,248,.12)}.mailColumnHead h1{margin:0;font-size:27px}.folderCount{display:inline-flex;margin-top:6px;padding:4px 9px;border-radius:999px;background:rgba(37,99,235,.18);color:#7dd3fc;font-size:12px;font-weight:800}.mailSearchForm{width:min(290px,50%)}.mailSearchForm .search{width:100%}.listToolbar{height:55px;padding:0 18px;display:flex;align-items:center;gap:13px;border-bottom:1px solid rgba(56,189,248,.12)}.toolButton{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:#dbeafe;background:rgba(7,19,38,.75)}.toolbarText{font-size:13px;color:var(--muted)}.modernMessageList{display:block}.modernMessageRow{position:relative;display:grid;grid-template-columns:24px 46px minmax(0,1fr) 24px;gap:12px;align-items:center;min-height:108px;padding:16px 17px;border-bottom:1px solid rgba(56,189,248,.1);transition:.16s}.modernMessageRow:hover{background:rgba(37,99,235,.09)}.modernMessageRow.selected{background:linear-gradient(90deg,rgba(14,165,233,.19),rgba(37,99,235,.12));box-shadow:inset 3px 0 0 var(--blue)}.modernMessageRow.unread .senderName,.modernMessageRow.unread .messageSubject{color:#fff;font-weight:900}.rowCheckbox{width:18px;height:18px;border:1px solid #62758e;border-radius:5px}.avatarCircle{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#344b7e,#5b4fa1);font-weight:900;color:#fff;flex:none}.avatarCircle.large{width:48px;height:48px}.messageInfo{min-width:0;display:block}.messageTopLine{display:flex;align-items:center;gap:7px;min-width:0}.senderName{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageTopLine time{margin-left:auto;color:#a4b3c6;font-size:12px;white-space:nowrap}.unreadDot{width:8px;height:8px;border-radius:50%;background:#168cff;box-shadow:0 0 10px rgba(22,140,255,.7)}.messageSubject,.messageSnippet{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageSubject{margin-top:6px;font-size:14px;color:#e5edf7}.messageSnippet{margin-top:5px;color:#8395ac}.rowStar{font-size:20px;color:#718197}.rowStar.active{color:#fbbf24}.mailPreviewColumn{position:relative;min-height:calc(100vh - 78px);background:radial-gradient(circle at 75% 20%,rgba(14,165,233,.08),transparent 34%),rgba(2,8,18,.5)}.previewEmpty{height:100%;min-height:600px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.previewEnvelope{width:116px;height:116px;border-radius:28px;display:grid;place-items:center;font-size:58px;background:linear-gradient(145deg,#1d9bf0,#1747d1);box-shadow:0 0 55px rgba(30,144,255,.24);margin-bottom:30px}.previewEmpty h2{margin:0 0 10px;font-size:27px;color:#c9c4ff}.previewEmpty p{margin:0;color:var(--muted)}.previewToolbar{min-height:62px;padding:12px 20px;display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(56,189,248,.12);flex-wrap:wrap}.previewAction{padding:10px 13px;border-radius:9px;background:rgba(15,29,49,.78);border:1px solid rgba(56,189,248,.1);color:#e6eef8;font-size:13px}.previewAction:hover{background:rgba(37,99,235,.18)}.previewMessage{padding:27px 30px}.previewTitleRow{display:flex;align-items:flex-start;gap:15px}.previewTitleRow h2{margin:0;font-size:28px;line-height:1.25}.previewStar{margin-left:auto;color:#fbbf24;font-size:24px}.previewSender{display:flex;align-items:center;gap:12px;margin-top:27px;padding-bottom:22px;border-bottom:1px solid rgba(56,189,248,.12)}.previewSender>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.previewSender small{margin-top:4px;color:var(--muted)}.previewSender time{margin-left:auto;color:#9cacbf;font-size:12px;white-space:nowrap}.previewBody{padding-top:28px;color:#e1e9f3;line-height:1.8;overflow-wrap:anywhere}.compactEmpty{min-height:420px}
@media(max-width:1100px){.mailWorkspace{grid-template-columns:minmax(380px,48%) minmax(0,1fr)}.mailColumnHead{align-items:stretch;flex-direction:column}.mailSearchForm{width:100%;max-width:none}.previewMessage{padding:22px}.previewTitleRow h2{font-size:23px}}
@media(max-width:760px){.content{overflow:visible}.mailWorkspace{display:block}.mailListColumn{border-right:0}.mailPreviewColumn{display:none}.mailColumnHead{min-height:auto;padding:18px 16px}.modernMessageRow{grid-template-columns:22px 42px minmax(0,1fr);padding:14px 13px}.modernMessageRow .rowStar{display:none}.messageTopLine time{font-size:11px}}

/* Update 005 – HTML levélszerkesztő és aláírás */
.composeModeBar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:2px 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(4,14,29,.7)}.composeModeBar>span{font-size:13px;font-weight:900;color:#bfdbfe;margin-right:4px}.modeOption{display:flex;align-items:center;gap:7px;color:#d6e2f0;font-size:13px;cursor:pointer}.modeOption input{accent-color:#1da1f2}.htmlComposer{margin-bottom:16px;border:1px solid rgba(148,163,184,.35);border-radius:12px;background:rgba(2,6,23,.78);overflow:hidden}.editorToolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px;border-bottom:1px solid rgba(56,189,248,.18);background:linear-gradient(180deg,rgba(11,28,54,.96),rgba(7,19,38,.88))}.editorToolbar button{min-width:36px;height:34px;padding:0 10px;border:1px solid rgba(148,163,184,.25);border-radius:8px;background:#0a1830;color:#eaf7ff;cursor:pointer;font-weight:800}.editorToolbar button:hover{border-color:#38bdf8;background:rgba(37,99,235,.25)}.toolbarDivider{width:1px;height:24px;background:rgba(148,163,184,.24);margin:0 3px}.richEditor{min-height:330px;padding:18px;color:#f8fafc;line-height:1.7;outline:none;overflow-wrap:anywhere}.richEditor:empty:before{content:attr(data-placeholder);color:#64748b;pointer-events:none}.richEditor a,.htmlMessageBody a{color:#38bdf8;text-decoration:underline}.richEditor blockquote,.htmlMessageBody blockquote{margin:14px 0;padding:10px 14px;border-left:3px solid #38bdf8;background:rgba(14,165,233,.08);color:#cbd5e1}.richEditor h1,.richEditor h2,.richEditor h3,.htmlMessageBody h1,.htmlMessageBody h2,.htmlMessageBody h3{line-height:1.3}.signatureHint{margin:-2px 0 18px;padding:11px 13px;border-radius:10px;border:1px solid rgba(34,197,94,.25);background:rgba(22,101,52,.18);color:#bbf7d0;font-size:13px}.signatureHint.mutedHint{border-color:rgba(148,163,184,.2);background:rgba(15,23,42,.45);color:#94a3b8}.mail-signature{margin-top:18px;padding-top:14px;border-top:1px solid rgba(148,163,184,.25);color:#dbeafe}.settingsIntro{color:var(--muted);line-height:1.55;margin-top:-4px}.signatureSettingsCard{grid-column:span 1}.compactToolbar{border:1px solid rgba(56,189,248,.18);border-bottom:0;border-radius:11px 11px 0 0}.signatureEditor{min-height:180px;border:1px solid rgba(148,163,184,.35);border-radius:0 0 11px 11px;background:rgba(2,6,23,.78);margin-bottom:16px}.switchRow{display:flex;align-items:center;gap:12px;margin:16px 0 18px;cursor:pointer}.switchRow>input{position:absolute;opacity:0;pointer-events:none}.switchControl{width:48px;height:26px;border-radius:999px;background:#26364d;position:relative;flex:none;transition:.2s}.switchControl:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.switchRow>input:checked+.switchControl{background:linear-gradient(90deg,#0ea5e9,#2563eb)}.switchRow>input:checked+.switchControl:after{transform:translateX(22px)}.switchRow>span:last-child{display:flex;flex-direction:column;gap:3px}.switchRow small{color:var(--muted);line-height:1.35}.htmlMessageBody{white-space:normal}.htmlMessageBody p:first-child{margin-top:0}.htmlMessageBody img{max-width:100%;height:auto}
@media(max-width:760px){.editorToolbar{gap:5px}.editorToolbar button{padding:0 8px}.richEditor{min-height:280px;padding:14px}.composeModeBar{align-items:flex-start;flex-direction:column;gap:10px}.signatureSettingsCard{grid-column:auto}}
