:root{--primary:#6c4cf1;--accent:#ffb547;--ink:#16142b;--muted:#6f6b80;--soft:#f7f6fb;--line:#e9e6f1;--white:#fff;--radius:22px;--shadow:0 20px 60px rgba(34,25,72,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Vazirmatn",Tahoma,sans-serif;font-size:15px;line-height:1.9}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.topbar{background:var(--ink);color:#dcd9e9;font-size:12px}.topbar .container{height:38px;display:flex;align-items:center;justify-content:space-between}.topbar a{color:#fff;direction:ltr}.header{height:88px;background:rgba(255,255,255,.94);position:sticky;top:0;z-index:50;border-bottom:1px solid transparent;transition:.25s;backdrop-filter:blur(15px)}.header.scrolled{height:76px;border-color:var(--line);box-shadow:0 8px 30px rgba(21,17,45,.06)}.nav-wrap{height:100%;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand img{width:48px;height:48px;object-fit:contain}.brand-mark{width:44px;height:44px;border-radius:15px;background:linear-gradient(145deg,var(--primary),#8d76ff);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:900;box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 35%,transparent);transform:rotate(-5deg)}.brand>span:last-child{display:flex;flex-direction:column;line-height:1.3}.brand strong{font-size:17px;font-weight:900}.brand small{font-size:9px;color:var(--muted);margin-top:4px}.main-nav{display:flex;align-items:center;gap:26px;margin-inline:auto}.main-nav a{font-size:14px;font-weight:600;position:relative}.main-nav a:after{content:"";position:absolute;right:0;left:100%;height:2px;bottom:-9px;background:var(--primary);transition:.2s}.main-nav a:hover{color:var(--primary)}.main-nav a:hover:after{left:0}.menu-toggle{display:none;border:0;background:none;font-size:25px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:13px;padding:11px 20px;font-weight:700;cursor:pointer;transition:.22s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 12px 28px color-mix(in srgb,var(--primary) 28%,transparent)}.btn-dark{background:var(--ink);color:#fff}.btn-light{background:#fff;color:var(--primary)}.btn-lg{padding:14px 26px;border-radius:15px}.hero{min-height:650px;position:relative;overflow:hidden;background:linear-gradient(140deg,#faf9ff 0%,#fff 54%,color-mix(in srgb,var(--accent) 11%,white) 100%);display:flex;align-items:center}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:70px;padding-block:66px 82px}.hero-copy{position:relative;z-index:2}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-weight:800;font-size:13px;letter-spacing:-.1px;margin-bottom:13px}.eyebrow:before{content:"";width:26px;height:2px;background:var(--accent);border-radius:9px}.hero h1{font-size:clamp(39px,4.5vw,68px);line-height:1.32;letter-spacing:-2.5px;margin:0 0 18px;font-weight:900;max-width:650px}.hero h1:after{content:"";display:inline-block;width:16px;height:16px;border-radius:5px;background:var(--accent);margin-right:9px;transform:rotate(15deg)}.hero-copy>p{font-size:17px;line-height:2;max-width:590px;color:var(--muted);margin:0 0 27px}.hero-actions{display:flex;align-items:center;gap:23px}.play-link{display:flex;align-items:center;gap:10px;font-weight:700}.play-link span{width:42px;height:42px;background:#fff;border-radius:50%;display:grid;place-items:center;color:var(--primary);box-shadow:0 8px 25px #ddd8ee}.trust-row{display:flex;gap:34px;margin-top:45px;border-top:1px solid var(--line);padding-top:23px;max-width:530px}.trust-row div{display:flex;flex-direction:column}.trust-row b{font-size:21px}.trust-row small{font-size:11px;color:var(--muted)}.hero-visual{position:relative;min-height:470px}.hero-image{position:absolute;inset:15px 34px 15px 10px;background:linear-gradient(145deg,var(--primary),#4730bd);border-radius:46% 46% 30px 30px;overflow:hidden;box-shadow:0 30px 80px color-mix(in srgb,var(--primary) 25%,transparent)}.hero-image img{width:100%;height:100%;object-fit:cover}.visual-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.25),transparent 35%);position:relative}.visual-placeholder:after{content:"A  •  B  •  C";position:absolute;inset:auto 15px 20px;opacity:.12;font-size:60px;font-weight:900;white-space:nowrap}.visual-placeholder span{font-size:85px;color:var(--accent);line-height:1}.visual-placeholder strong{font-size:28px}.visual-placeholder small{letter-spacing:4px;opacity:.7}.float-card{position:absolute;z-index:3;background:rgba(255,255,255,.96);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.8);border-radius:18px;padding:13px 16px;display:flex;align-items:center;gap:11px}.float-card.top{top:60px;right:0}.float-card.bottom{bottom:43px;left:-20px}.float-card>span{width:42px;height:42px;background:#fff4d9;border-radius:13px;display:grid;place-items:center;font-size:21px}.float-card div{display:flex;flex-direction:column}.float-card b{font-size:12px}.float-card small{font-size:9px;color:var(--muted)}.avatars{display:flex!important;flex-direction:row!important}.avatars i{width:29px;height:29px;border-radius:50%;border:2px solid #fff;background:var(--primary);margin-left:-8px}.avatars i:nth-child(2){background:var(--accent)}.avatars i:nth-child(3){background:#3fc89e}.hero-blob{position:absolute;border-radius:50%;filter:blur(2px)}.hero-blob.one{width:180px;height:180px;left:-70px;top:80px;background:color-mix(in srgb,var(--primary) 9%,white)}.hero-blob.two{width:90px;height:90px;right:48%;bottom:-45px;background:color-mix(in srgb,var(--accent) 35%,white)}.reveal{opacity:0;transform:translateY(18px);transition:.7s}.reveal.visible{opacity:1;transform:none}.section{padding:92px 0}.soft-section{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-head h2,.section-title h2,.about-copy h2,.contact-info h2{font-size:34px;line-height:1.45;margin:0;font-weight:900;letter-spacing:-1px}.section-head>a{color:var(--primary);font-weight:800}.section-title{text-align:center;max-width:650px;margin:0 auto 42px}.section-title .eyebrow{justify-content:center}.section-title p{color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.category-card{min-height:170px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;position:relative;transition:.25s}.category-card:hover{transform:translateY(-7px);border-color:color-mix(in srgb,var(--primary) 45%,white);box-shadow:var(--shadow)}.category-icon{width:52px;height:52px;border-radius:16px;background:color-mix(in srgb,var(--primary) 9%,white);color:var(--primary);display:grid;place-items:center;font-size:23px;font-weight:900;margin-bottom:18px}.category-card strong{font-size:15px}.category-card small{font-size:10px;color:var(--muted)}.category-card>b{position:absolute;left:17px;bottom:17px;color:var(--primary)}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.course-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s}.course-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.course-image{height:210px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 70%,#111),var(--primary));position:relative;display:grid;place-items:center;overflow:hidden;color:#fff;font-size:20px;font-weight:900}.course-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.course-card:hover .course-image img{transform:scale(1.04)}.course-image em{position:absolute;right:13px;top:13px;background:rgba(255,255,255,.9);color:var(--ink);font-size:10px;font-style:normal;border-radius:20px;padding:4px 10px}.course-body{padding:19px}.course-body>small{color:var(--primary);font-weight:700}.course-body h3{font-size:17px;margin:5px 0 7px;line-height:1.6}.course-body>p{color:var(--muted);font-size:12px;line-height:1.8;height:43px;overflow:hidden}.course-meta{display:flex;gap:16px;color:var(--muted);font-size:10px;border-top:1px solid var(--line);padding-top:13px}.course-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.course-footer strong{font-size:14px}.course-footer a{color:var(--primary);font-weight:800;font-size:11px}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}.about-visual{height:470px;border-radius:35px;background:linear-gradient(145deg,#19162c,#39305f);position:relative;overflow:hidden}.about-visual:before,.about-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%;width:330px;height:330px;left:-100px;top:-60px}.about-visual:after{width:190px;height:190px;left:30px;top:80px}.about-main{position:absolute;right:45px;bottom:55px;color:#fff;display:flex;flex-direction:column;z-index:2}.about-main span{font-size:88px;font-weight:900;line-height:1;color:var(--accent)}.about-main small{font-size:18px}.dot-pattern{position:absolute;width:130px;height:130px;left:40px;bottom:38px;background-image:radial-gradient(#fff 2px,transparent 2px);background-size:14px 14px;opacity:.25}.about-copy>p{color:var(--muted);font-size:15px}.benefits{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.benefits>div{display:flex;gap:10px}.benefits i{width:28px;height:28px;border-radius:9px;background:#e8fbf4;color:#1aaa78;display:grid;place-items:center;font-style:normal;font-weight:900}.benefits span{display:flex;flex-direction:column}.benefits small{color:var(--muted);font-size:10px}.teacher-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.teacher-card{text-align:center;padding:17px 17px 23px;background:#fff;border:1px solid var(--line);border-radius:22px;transition:.25s}.teacher-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.teacher-photo{height:230px;border-radius:17px;background:linear-gradient(145deg,#eeeafa,#d9d2f7);overflow:hidden;display:grid;place-items:center}.teacher-photo img{width:100%;height:100%;object-fit:cover}.teacher-photo span{font-size:75px;font-weight:900;color:var(--primary);opacity:.5}.teacher-card h3{margin:15px 0 2px}.teacher-card p{color:var(--primary);font-size:12px;margin:0}.teacher-card small{color:var(--muted)}.teacher-bio{font-size:11px;color:var(--muted);margin-top:10px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.blog-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.blog-image{display:grid;place-items:center;height:210px;background:linear-gradient(135deg,#292343,var(--primary));color:#fff;font-size:20px;font-weight:900;overflow:hidden}.blog-image img{width:100%;height:100%;object-fit:cover}.blog-card>div{padding:19px}.blog-card small{color:var(--muted);font-size:10px}.blog-card h3{font-size:17px;line-height:1.65;margin:5px 0}.blog-card p{font-size:12px;color:var(--muted);height:45px;overflow:hidden}.blog-card>div>a{color:var(--primary);font-size:11px;font-weight:800}.cta-section{padding:0 0 92px}.cta-box{background:linear-gradient(135deg,var(--primary),#4931be);padding:47px 55px;border-radius:30px;color:#fff;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.cta-box:after{content:"✦";font-size:220px;position:absolute;left:35%;top:-100px;opacity:.07}.cta-box span{color:#ded7ff}.cta-box h2{font-size:27px;margin:4px 0}.cta-box p{margin:0;opacity:.8}.footer{background:#151329;color:#c9c5d7;padding:72px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .9fr 1.2fr;gap:50px}.brand-light{color:#fff}.brand-light small{color:#aaa4c3}.footer p{font-size:12px}.footer h4{color:#fff;margin:0 0 16px}.footer-grid>div{display:flex;flex-direction:column;gap:8px}.footer-grid a,.footer-grid span{font-size:12px}.newsletter>div{display:flex;background:#28243e;padding:5px;border-radius:13px}.newsletter input{min-width:0;flex:1;background:none;border:0;color:#fff;padding:8px;outline:0;direction:ltr}.newsletter button{background:var(--primary);border:0;color:#fff;border-radius:9px;padding:5px 12px}.copyright{border-top:1px solid #2d2944;margin-top:50px;padding-top:17px;display:flex;justify-content:space-between;font-size:10px}.floating-call{position:fixed;left:22px;bottom:22px;width:54px;height:54px;background:#20bd78;color:#fff;border-radius:18px;display:grid;place-items:center;font-size:24px;z-index:40;box-shadow:0 12px 30px rgba(32,189,120,.35)}.page-hero{padding:75px 0;background:linear-gradient(135deg,#f6f3ff,#fff8ec);text-align:center}.page-hero h1{font-size:44px;margin:0}.page-hero p{color:var(--muted);margin:8px 0}.filter-bar{display:grid;grid-template-columns:1fr 250px auto;gap:12px;background:var(--soft);border-radius:20px;padding:16px;margin-bottom:35px}.filter-bar input,.filter-bar select,.contact-form input,.contact-form textarea{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 15px;outline:0}.filter-bar input:focus,.contact-form input:focus,.contact-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.empty-state{text-align:center;padding:80px 20px}.empty-state>span{display:grid;place-items:center;margin:auto;width:70px;height:70px;border-radius:22px;background:var(--soft);font-size:35px;color:var(--primary)}.detail-hero{background:linear-gradient(135deg,#f7f5ff,#fff);padding:80px 0}.detail-grid{display:grid;grid-template-columns:1fr 380px;gap:60px;align-items:center}.detail-grid h1{font-size:46px;line-height:1.4;margin:5px 0 15px}.detail-grid>div:first-child>p{font-size:17px;color:var(--muted)}.detail-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.detail-tags span{padding:8px 13px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:12px}.enroll-card{background:#fff;padding:28px;border-radius:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}.enroll-card strong{font-size:25px}.enroll-card hr{width:100%;border:0;border-top:1px solid var(--line)}.enroll-card span{font-size:12px;color:var(--muted)}.enroll-card .btn{margin-top:10px}.narrow{max-width:800px}.rich-text{color:#484359;font-size:15px;line-height:2.2}.rich-text img{border-radius:18px}.article-page{padding:70px 0}.article-head{text-align:center;max-width:850px}.article-head h1{font-size:42px;line-height:1.5;margin:5px 0 18px}.article-head>div{display:flex;justify-content:center;gap:25px;color:var(--muted);font-size:12px}.article-cover{height:480px;border-radius:30px;overflow:hidden;margin-block:40px}.article-cover img{width:100%;height:100%;object-fit:cover}.content-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.content-visual{height:430px;border-radius:30px;background:linear-gradient(135deg,var(--primary),#211943);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.content-visual span{font-size:25px}.content-visual strong{font-size:60px}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.values>div{padding:30px;border-radius:20px;background:#fff}.values span{color:var(--primary);font-weight:900}.values h3{font-size:20px}.values p{color:var(--muted);font-size:13px}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}.contact-info>p{color:var(--muted)}.contact-info>div{display:flex;align-items:center;gap:13px;margin-top:22px}.contact-info i{font-style:normal;width:48px;height:48px;border-radius:15px;background:color-mix(in srgb,var(--primary) 9%,white);color:var(--primary);display:grid;place-items:center}.contact-info span{display:flex;flex-direction:column}.contact-info small{color:var(--muted);font-size:10px}.contact-form{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:28px;border-radius:24px;display:grid;grid-template-columns:1fr 1fr;gap:17px}.contact-form label{display:flex;flex-direction:column;font-size:12px;font-weight:700;gap:5px}.contact-form label:nth-of-type(3),.contact-form label:nth-of-type(4),.contact-form .btn,.contact-form>.alert-success,.contact-form>div{grid-column:1/-1}.contact-form textarea{resize:vertical}.contact-form span{color:#d93e55;font-size:10px}.alert-success{background:#e8fbf2;color:#13734e;padding:13px;border-radius:12px}.teacher-grid-full{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.main-nav{gap:14px}.nav-cta{display:none}.category-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{gap:25px}.hero h1{font-size:43px}.course-grid,.blog-grid{grid-template-columns:repeat(2,1fr)}.teacher-grid,.teacher-grid-full{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr 330px}}
@media(max-width:760px){body{font-size:14px}.container{width:min(100% - 28px,1180px)}.topbar{display:none}.header,.header.scrolled{height:68px}.menu-toggle{display:block;margin-right:auto}.nav-cta{display:none}.main-nav{display:none;position:absolute;top:68px;right:14px;left:14px;background:#fff;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:18px;padding:18px;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.brand small{display:none}.brand-mark{width:39px;height:39px}.hero{min-height:auto}.hero-grid{grid-template-columns:1fr;padding-block:48px;gap:40px}.hero h1{font-size:37px;letter-spacing:-1.5px}.hero-copy>p{font-size:14px}.trust-row{gap:18px;justify-content:space-between}.hero-visual{min-height:370px}.hero-image{inset:10px 20px}.float-card.top{top:30px}.float-card.bottom{bottom:25px;left:0}.section{padding:64px 0}.section-head{align-items:center}.section-head h2,.section-title h2,.about-copy h2,.contact-info h2{font-size:27px}.section-head>a{font-size:11px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card{min-height:145px}.course-grid,.blog-grid{grid-template-columns:1fr}.course-image{height:230px}.about-grid,.content-split,.contact-grid,.detail-grid{grid-template-columns:1fr;gap:40px}.about-visual{height:360px;order:2}.benefits{grid-template-columns:1fr}.teacher-grid,.teacher-grid-full{grid-template-columns:repeat(2,1fr);gap:12px}.teacher-photo{height:180px}.teacher-card{padding:10px 10px 18px}.cta-box{padding:35px 25px;display:block}.cta-box h2{font-size:22px}.cta-box .btn{margin-top:22px}.footer-grid{grid-template-columns:1fr;gap:28px}.page-hero{padding:50px 0}.page-hero h1{font-size:34px}.filter-bar{grid-template-columns:1fr}.detail-grid h1{font-size:35px}.article-head h1{font-size:31px}.article-cover{height:260px}.values{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form label{grid-column:1/-1}.floating-call{width:48px;height:48px;border-radius:15px}.content-visual{height:330px}.section-head .eyebrow{margin:0}.section-head h2{font-size:24px}}

/* Video and rich CMS content */
.hero-video{width:100%;height:100%;object-fit:cover}.video-toggle{position:absolute;left:16px;bottom:16px;width:40px;height:40px;border:1px solid rgba(255,255,255,.5);background:rgba(20,17,42,.55);backdrop-filter:blur(8px);color:#fff;border-radius:13px;display:grid;place-items:center;cursor:pointer;z-index:3}.about-visual>img,.about-visual>video,.content-visual.has-media>img,.content-visual.has-media>video{width:100%;height:100%;object-fit:cover}.content-video{width:100%;border-radius:24px;overflow:hidden;background:#0d0b18;box-shadow:var(--shadow);margin-bottom:38px}.content-video video{width:100%;max-height:620px;display:block}.content-cover{border-radius:24px;overflow:hidden;margin-bottom:35px}.content-cover img{width:100%;max-height:560px;object-fit:cover}.page-hero-body{color:var(--muted);max-width:760px;margin:8px auto 0}.page-hero-body p{margin:0}.rich-text.compact{font-size:14px}.rich-text h1,.rich-text h2,.rich-text h3{color:var(--ink);line-height:1.55;margin:1.7em 0 .55em}.rich-text h2{font-size:27px}.rich-text h3{font-size:21px}.rich-text p{margin:.5em 0 1.2em}.rich-text ul,.rich-text ol{padding-right:23px}.rich-text blockquote{border-right:4px solid var(--primary);background:var(--soft);border-radius:12px;padding:13px 20px;margin:25px 0}.rich-text a{color:var(--primary);text-decoration:underline}.rich-text table{width:100%;border-collapse:collapse;display:block;overflow:auto}.rich-text th,.rich-text td{border:1px solid var(--line);padding:9px 12px}.rich-text iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:16px}.article-cover.content-video{height:auto}.article-cover.content-video video{max-height:600px}

/* Public Quill content */
.rich-text.ql-editor {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    direction: rtl;
    text-align: right;
    white-space: normal;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

.rich-text.ql-editor img {
    max-width: 100%;
    height: auto;
    margin: 22px auto;
    border-radius: 17px;
}

.rich-text.ql-editor .ql-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 16px;
}

/* Teacher details */
.teacher-detail-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5ff 0%, #fff 58%, #fff8eb 100%);
}

.teacher-detail-grid {
    display: grid;
    grid-template-columns: 410px 1fr;
    gap: 75px;
    align-items: center;
}

.teacher-detail-photo {
    height: 520px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 10px solid #fff;
    border-radius: 34px;
    background: linear-gradient(145deg, #eeeafa, #d8cff9);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.teacher-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-detail-photo > span {
    color: var(--primary);
    font-size: 130px;
    font-weight: 900;
    opacity: .45;
}

.teacher-detail-copy h1 {
    margin: 0 0 4px;
    font-size: 48px;
    line-height: 1.4;
}

.teacher-detail-copy > strong {
    color: var(--primary);
    font-size: 17px;
}

.teacher-experience {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 24px 0;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.teacher-experience i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff2d8;
    color: #db891b;
    font-style: normal;
}

.teacher-experience span {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.teacher-experience small {
    color: var(--muted);
    font-size: 9px;
}

.teacher-description {
    margin: 25px 0 30px;
}

.teacher-more {
    display: block;
    margin-top: 11px;
    color: var(--primary);
    font-size: 10px;
}

.compact-empty {
    padding: 40px 20px;
}

@media (max-width: 850px) {
    .teacher-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .teacher-detail-photo {
        width: min(100%, 430px);
        height: 480px;
        margin-inline: auto;
    }

    .teacher-detail-copy h1 {
        font-size: 38px;
    }
}

@media (max-width: 520px) {
    .teacher-detail-hero {
        padding: 50px 0;
    }

    .teacher-detail-photo {
        height: 390px;
        border-width: 7px;
        border-radius: 25px;
    }

    .teacher-detail-copy h1 {
        font-size: 32px;
    }
}

.detail-tags a {
    padding: 8px 13px;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, white);
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 7%, white);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

/* Professional navigation and mobile drawer */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: max-content;
    color: var(--ink);
    font-size: 11px;
}

.account-link > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, white);
    border-radius: 11px;
    background: color-mix(in srgb, var(--primary) 7%, white);
    color: var(--primary);
    font-weight: 900;
}

.menu-toggle {
    width: 43px;
    height: 43px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 9px;
    background: var(--ink);
    transition: .2s;
}

.mobile-menu,
.mobile-menu-overlay,
.mobile-bottom-nav {
    display: none;
}

/* Login, profile and learner dashboard */
.account-auth-section {
    min-height: 680px;
    padding: 80px 0;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 26%),
        linear-gradient(135deg, #f6f3ff, #fff 55%, #fff8ed);
}

.account-auth-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 90px;
    align-items: center;
}

.auth-intro h1 {
    max-width: 630px;
    margin: 0 0 16px;
    font-size: 52px;
    line-height: 1.38;
}

.auth-intro > p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.auth-benefits span {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .8);
    font-size: 12px;
}

.otp-card {
    min-height: 430px;
    padding: 29px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 27px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 80px rgba(39, 27, 85, .14);
}

.otp-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border-radius: 13px;
    background: var(--soft);
}

.otp-tabs button {
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.otp-tabs button.active {
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(35, 27, 68, .08);
}

.otp-step {
    display: none;
    padding-top: 25px;
}

.otp-step.active {
    display: block;
}

.otp-step h2 {
    margin: 0;
    font-size: 25px;
}

.otp-step > p {
    margin: 4px 0 22px;
    color: var(--muted);
    font-size: 12px;
}

.otp-step label,
.profile-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.otp-step input,
.profile-grid input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
    background: #fff;
}

.otp-step input:focus,
.profile-grid input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}

.otp-code {
    letter-spacing: 11px;
    text-align: center;
    font-size: 24px !important;
    font-weight: 900;
}

.btn-block {
    width: 100%;
    margin-top: 18px;
}

.otp-back,
.otp-resend {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
}

.otp-resend {
    display: block;
    margin: 16px auto 0;
}

.otp-resend:disabled {
    color: var(--muted);
    cursor: default;
}

.otp-message {
    min-height: 28px;
    margin-top: 14px;
    color: #148259;
    font-size: 11px;
    text-align: center;
}

.otp-message.error,
.field-error {
    color: #cb3851;
}

.account-hero {
    padding: 62px 0;
    background: linear-gradient(135deg, #211a45, var(--primary));
    color: #fff;
}

.account-hero-inner,
.account-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.account-hero .eyebrow {
    color: #fff;
}

.account-hero h1 {
    margin: 0;
    font-size: 38px;
}

.account-hero p {
    margin: 5px 0 0;
    color: #d8d1f2;
}

.account-section {
    background: var(--soft);
}

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: start;
}

.account-sidebar,
.profile-card,
.enrollment-card,
.account-empty {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.account-sidebar {
    position: sticky;
    top: 100px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-avatar {
    width: 76px;
    height: 76px;
    overflow: hidden;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--primary) 10%, white);
    color: var(--primary);
    font-size: 30px;
    font-weight: 900;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-sidebar > small {
    color: var(--muted);
    direction: ltr;
}

.account-sidebar nav {
    width: 100%;
    display: grid;
    gap: 6px;
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.account-sidebar nav a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 11px;
}

.account-sidebar nav a.active,
.account-sidebar nav a:hover {
    background: color-mix(in srgb, var(--primary) 8%, white);
    color: var(--primary);
    font-weight: 800;
}

.account-sidebar form,
.account-sidebar form button {
    width: 100%;
}

.account-sidebar form button {
    padding: 9px;
    border: 0;
    background: transparent;
    color: #c33d52;
    cursor: pointer;
}

.account-heading {
    margin-bottom: 22px;
}

.account-heading h1,
.account-heading h2 {
    margin: 0;
}

.account-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.btn-outline {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--primary);
}

.account-empty {
    padding: 70px 20px;
    text-align: center;
}

.account-empty > span {
    font-size: 50px;
    color: var(--primary);
}

.account-empty h3 {
    margin-bottom: 0;
}

.account-empty p {
    color: var(--muted);
}

.account-empty > div {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.enrollment-list {
    display: grid;
    gap: 17px;
}

.enrollment-card {
    padding: 22px;
}

.enrollment-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.enrollment-card header span,
.enrollment-card header small {
    color: var(--muted);
    font-size: 10px;
}

.enrollment-card h3 {
    margin: 2px 0;
}

.payment-summary {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.installment-list {
    display: grid;
    gap: 8px;
}

.installment-row {
    display: grid;
    grid-template-columns: 35px 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.installment-state {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--soft);
    color: var(--primary);
    font-weight: 900;
}

.installment-row > div {
    display: flex;
    flex-direction: column;
}

.installment-row small {
    color: var(--muted);
    font-size: 9px;
}

.installment-row > strong {
    font-size: 12px;
}

.installment-row .btn {
    padding: 7px 12px;
    font-size: 10px;
}

.installment-row.paid {
    background: #f4fcf8;
}

.installment-row.overdue {
    border-color: #efb8c2;
    background: #fff7f8;
}

.installment-row.overdue .installment-state {
    background: #ffe3e8;
    color: #b52540;
}

.installment-row .installment-alert {
    margin-top: 3px;
    color: #b52540;
    font-weight: 700;
}

.installment-row .installment-alert.today {
    color: #926600;
}

.jdp-container {
    z-index: 2200 !important;
    font-family: Vazirmatn, sans-serif !important;
}

input[data-jdp] {
    direction: ltr;
    text-align: left;
    cursor: pointer;
    background: #fff;
}

.paid-badge {
    padding: 5px 9px;
    border-radius: 20px;
    background: #dff6eb;
    color: #167750;
    font-size: 9px;
}

.profile-section {
    background: var(--soft);
}

.narrow-account {
    max-width: 900px;
}

.profile-card {
    padding: 27px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ltr-input {
    direction: ltr;
    text-align: left;
}

.profile-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.site-toast {
    margin-bottom: 15px;
    padding: 11px 15px;
    border: 1px solid #b8e9d2;
    border-radius: 11px;
    background: #e9faf2;
    color: #15734e;
}

.site-toast.error {
    border-color: #f0c1c9;
    background: #fff0f2;
    color: #b83249;
}

.installment-hint {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, white);
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 6%, white);
}

.installment-hint b {
    color: var(--primary);
    font-size: 12px;
}

.enroll-card form,
.enroll-card form .btn {
    width: 100%;
}

/* Camps */
.camp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.camp-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fff;
    transition: .25s;
}

.camp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.camp-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #282047, var(--primary));
    color: #fff;
    font-size: 45px;
}

.camp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camp-image b {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 11px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 10px;
}

.camp-body {
    padding: 19px;
}

.camp-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
}

.camp-body h3 {
    margin: 7px 0;
    font-size: 18px;
}

.camp-body > p {
    height: 49px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
}

.camp-body footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.camp-body footer small,
.camp-body footer a {
    color: var(--primary);
    font-size: 10px;
}

.camp-detail-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f6f3ff, #fff 58%, #fff7e8);
}

.camp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 65px;
    align-items: center;
}

.camp-detail-copy h1 {
    margin: 0 0 12px;
    font-size: 46px;
    line-height: 1.4;
}

.camp-detail-copy > p {
    color: var(--muted);
    font-size: 17px;
}

.included-services {
    margin-top: 35px;
    padding: 20px;
    border-radius: 17px;
    background: var(--soft);
}

.payment-result-section {
    min-height: 650px;
    padding: 90px 0;
    background: var(--soft);
}

.payment-result-card {
    max-width: 650px;
    margin: auto;
    padding: 55px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.result-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 25px;
    background: #e2f8ed;
    color: #148158;
    font-size: 40px;
    font-weight: 900;
}

.payment-result-card.failed .result-icon {
    background: #fff0f2;
    color: #c83c53;
}

.payment-result-card > span {
    color: var(--primary);
    font-weight: 800;
}

.payment-result-card h1 {
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .account-link b {
        display: none;
    }

    .camp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: 69px;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .header .main-nav,
    .header .nav-cta,
    .header .account-link {
        display: none;
    }

    .nav-wrap {
        gap: 10px;
    }

    .nav-actions {
        margin-right: auto;
    }

    .menu-toggle {
        display: block;
        margin: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 900;
        display: block;
        background: rgba(17, 13, 36, .55);
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(4px);
        transition: .25s;
    }

    .mobile-menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 910;
        width: min(88vw, 390px);
        display: flex;
        flex-direction: column;
        padding: 20px;
        background: #fff;
        box-shadow: -30px 0 80px rgba(20, 16, 45, .25);
        transform: translateX(105%);
        transition: transform .28s ease;
    }

    .mobile-menu.open {
        transform: none;
    }

    .mobile-menu header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 17px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-menu header button {
        width: 38px;
        height: 38px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        color: var(--muted);
        font-size: 25px;
    }

    .mobile-menu nav {
        display: grid;
        gap: 5px;
        margin-top: 15px;
        overflow-y: auto;
    }

    .mobile-menu nav a {
        display: grid;
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        align-items: center;
        padding: 9px;
        border-radius: 12px;
    }

    .mobile-menu nav a:hover {
        background: var(--soft);
    }

    .mobile-menu nav a > span {
        grid-row: 1 / 3;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: color-mix(in srgb, var(--primary) 8%, white);
        color: var(--primary);
        font-size: 18px;
    }

    .mobile-menu nav b {
        font-size: 12px;
    }

    .mobile-menu nav small {
        color: var(--muted);
        font-size: 9px;
    }

    .mobile-menu footer {
        display: grid;
        gap: 10px;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid var(--line);
        text-align: center;
    }

    .mobile-menu footer > a:last-child {
        color: var(--muted);
        font-size: 10px;
        direction: ltr;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 10px;
        bottom: 9px;
        left: 10px;
        z-index: 100;
        height: 60px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 18px;
        background: rgba(25, 21, 48, .94);
        color: #fff;
        box-shadow: 0 15px 40px rgba(20, 16, 40, .3);
        backdrop-filter: blur(15px);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 8px;
    }

    .mobile-bottom-nav span {
        font-size: 18px;
        line-height: 1.2;
    }

    .floating-call {
        display: none;
    }

    .account-auth-section {
        min-height: auto;
        padding: 45px 0 70px;
    }

    .account-auth-grid,
    .account-layout,
    .camp-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .auth-intro h1 {
        font-size: 35px;
    }

    .auth-intro > p {
        font-size: 14px;
    }

    .otp-card {
        min-height: 410px;
        padding: 22px;
    }

    .account-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 12px;
        align-items: center;
    }

    .account-avatar {
        grid-row: 1 / 3;
        width: 60px;
        height: 60px;
        margin: 0;
    }

    .account-sidebar nav,
    .account-sidebar form {
        grid-column: 1 / -1;
    }

    .account-sidebar nav {
        grid-template-columns: 1fr 1fr;
    }

    .account-heading,
    .enrollment-card > header {
        align-items: flex-start;
    }

    .payment-summary {
        display: none;
    }

    .installment-row {
        grid-template-columns: 35px 1fr auto;
    }

    .installment-row form,
    .paid-badge {
        grid-column: 2 / -1;
    }

    .installment-row form .btn {
        width: 100%;
    }

    .profile-grid,
    .camp-grid {
        grid-template-columns: 1fr;
    }

    .camp-detail-hero {
        padding: 55px 0;
    }

    .camp-detail-copy h1 {
        font-size: 34px;
    }

    .payment-result-card {
        padding: 35px 20px;
    }
}

@media (max-width: 480px) {
    .account-hero-inner,
    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-hero h1 {
        font-size: 31px;
    }

    .account-heading .btn {
        width: 100%;
    }

    .enrollment-card {
        padding: 15px;
    }
}

/* Configurable visual themes */
html[data-theme="violet"] {
    --primary: #6c4cf1;
    --accent: #ffb547;
    --radius: 22px;
}

html[data-theme="ocean"] {
    --primary: #087ea4;
    --accent: #38bdf8;
    --radius: 18px;
}

html[data-theme="emerald"] {
    --primary: #087f5b;
    --accent: #f4b740;
    --radius: 24px;
}

html[data-theme="sunset"] {
    --primary: #d9485f;
    --accent: #ff9f43;
    --radius: 26px;
}

html[data-theme="graphite"] {
    --primary: #334155;
    --accent: #a78bfa;
    --radius: 14px;
}

.site-theme-toggle,
.mobile-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.site-theme-toggle span,
.mobile-theme-toggle span {
    color: var(--primary);
    font-size: 17px;
}

.site-theme-toggle b,
.mobile-theme-toggle b {
    font-size: 10px;
}

html[data-color-mode="dark"] {
    --ink: #f4f1fb;
    --muted: #aaa5ba;
    --soft: #171522;
    --line: #302c40;
    --white: #211e2d;
    --shadow: 0 20px 60px rgba(0, 0, 0, .26);
    color-scheme: dark;
}

html[data-color-mode="dark"] body,
html[data-color-mode="dark"] .header,
html[data-color-mode="dark"] .course-card,
html[data-color-mode="dark"] .category-card,
html[data-color-mode="dark"] .teacher-card,
html[data-color-mode="dark"] .blog-card,
html[data-color-mode="dark"] .enroll-card,
html[data-color-mode="dark"] .otp-card,
html[data-color-mode="dark"] .profile-card,
html[data-color-mode="dark"] .account-sidebar,
html[data-color-mode="dark"] .enrollment-card,
html[data-color-mode="dark"] .payment-result-card {
    background-color: #211e2d;
}

html[data-color-mode="dark"] .hero,
html[data-color-mode="dark"] .page-hero,
html[data-color-mode="dark"] .detail-hero,
html[data-color-mode="dark"] .account-auth-section {
    background: linear-gradient(135deg, #171522, #211e2d 58%, #191724);
}

html[data-color-mode="dark"] input,
html[data-color-mode="dark"] select,
html[data-color-mode="dark"] textarea,
html[data-color-mode="dark"] .otp-tabs button.active,
html[data-color-mode="dark"] .login-method-tabs button.active,
html[data-color-mode="dark"] .password-input-wrap {
    border-color: var(--line);
    background: #171522;
    color: var(--ink);
}

html[data-color-mode="dark"] .mobile-menu {
    background: #211e2d;
}

html[data-color-mode="dark"] .mobile-menu header button,
html[data-color-mode="dark"] .menu-toggle {
    background: #171522;
    color: var(--ink);
}

html[data-color-mode="dark"] .auth-benefits span,
html[data-color-mode="dark"] .detail-tags span,
html[data-color-mode="dark"] .float-card {
    background: rgba(33, 30, 45, .92);
}

/* Professional login and profile security */
.login-method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 12px;
    padding: 5px;
    border-radius: 14px;
    background: var(--soft);
}

.login-method-tabs button {
    min-height: 39px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.login-method-tabs button.active {
    background: var(--white);
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(35, 27, 68, .08);
}

.auth-method-panel label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 14px 0;
    font-size: 12px;
    font-weight: 700;
}

.auth-method-panel input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
}

.password-login-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px;
}

.password-login-head > span,
.security-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: color-mix(in srgb, var(--primary) 10%, var(--white));
    color: var(--primary);
    font-size: 22px;
}

.password-login-head h2,
.password-login-head p {
    margin: 0;
}

.password-login-head p {
    color: var(--muted);
    font-size: 10px;
}

.password-input-wrap {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.password-input-wrap input {
    border: 0;
    border-radius: 0;
}

.password-input-wrap button,
.password-forgot {
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.password-forgot {
    width: 100%;
    padding: 13px;
}

.otp-auto-help {
    color: var(--primary);
    font-size: 9px;
}

.profile-security {
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.profile-security > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.profile-security h3,
.profile-security p {
    margin: 0;
}

.profile-security p {
    color: var(--muted);
    font-size: 11px;
}

/* Modern mobile bottom navigation */
@media (max-width: 760px) {
    body {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .site-theme-toggle {
        display: none;
    }

    .mobile-bottom-nav {
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        height: 72px;
        padding: 7px 8px;
        border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
        border-radius: 23px;
        background: rgba(255, 255, 255, .92);
        color: var(--muted);
        box-shadow: 0 18px 48px rgba(27, 21, 54, .2);
        backdrop-filter: blur(22px);
    }

    html[data-color-mode="dark"] .mobile-bottom-nav {
        background: rgba(31, 28, 43, .94);
    }

    .mobile-bottom-nav a {
        position: relative;
        gap: 3px;
        border-radius: 16px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
    }

    .mobile-bottom-nav b {
        font-size: 11px;
    }

    .mobile-bottom-nav .mobile-nav-icon {
        width: 34px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        font-size: inherit;
        transition: .2s;
    }

    .mobile-bottom-nav svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-bottom-nav a.active {
        color: var(--primary);
    }

    .mobile-bottom-nav a.active .mobile-nav-icon {
        margin-top: -15px;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 9px 22px color-mix(in srgb, var(--primary) 35%, transparent);
        transform: scale(1.08);
    }

    .mobile-theme-toggle {
        width: 100%;
        min-height: 46px;
        font-size: 12px;
    }
}
