:root{
    --bg:#060913;
    --bg2:#0b1020;
    --card:rgba(255,255,255,.055);
    --border:rgba(255,255,255,.09);
    --text:#f6f8ff;
    --muted:#98a4bb;
    --blue:#4f7cff;
    --purple:#8b5cf6;
    --cyan:#25d3ff;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
        radial-gradient(circle at 10% 0%,rgba(79,124,255,.16),transparent 34%),
        radial-gradient(circle at 90% 5%,rgba(139,92,246,.14),transparent 35%),
        var(--bg);
    color:var(--text);
    font-family:Inter,Segoe UI,Arial,sans-serif;
    line-height:1.6;
}

a{
    color:inherit;
    text-decoration:none;
}

.container{
    width:min(1200px,calc(100% - 32px));
    margin:auto;
}

/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(6,9,19,.88);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
}

.header-inner{
    width:min(1200px,calc(100% - 32px));
    min-height:82px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand{
    display:flex;
    align-items:center;
    gap:11px;
}

.brand-mark{
    width:43px;
    height:43px;
    border-radius:13px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--blue),var(--purple));
    font-weight:900;
    font-size:23px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.brand-text strong{
    letter-spacing:.07em;
}

.brand-text span{
    color:#8996ac;
    font-size:10px;
    letter-spacing:.25em;
    margin-top:5px;
}

.main-nav{
    display:flex;
    gap:25px;
    color:#c8d2e5;
    font-size:14px;
    font-weight:650;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:14px;
}

.languages{
    display:flex;
    gap:5px;
}

.languages a{
    font-size:10px;
    padding:6px;
    color:#adb8cb;
}

.header-cta{
    padding:12px 17px;
    border-radius:12px;
    background:linear-gradient(90deg,var(--blue),var(--purple));
    font-weight:800;
}

/* HERO */

.hero{
    padding:110px 0 90px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:70px;
    align-items:center;
}

.eyebrow,
.section-head > span{
    color:#75caff;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.16em;
}

h1{
    font-size:clamp(52px,7vw,88px);
    line-height:.98;
    letter-spacing:-.05em;
    margin:18px 0 26px;
}

h1 span{
    background:linear-gradient(90deg,#77b8ff,#8b5cf6,#25d3ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-text{
    max-width:700px;
    color:var(--muted);
    font-size:20px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:13px;
    margin-top:32px;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    padding:14px 20px;
    border-radius:13px;
    font-weight:800;
}

.btn-primary{
    background:linear-gradient(90deg,var(--blue),var(--purple));
}

.btn-secondary{
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
}

/* PREVIEW */

.hero-card{
    position:relative;
}

.preview-window{
    border-radius:28px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.11);
    background:#0c1221;
    box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.preview-top{
    height:42px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 16px;
    background:#111829;
}

.preview-top span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#526078;
}

.preview-content{
    padding:45px;
    text-align:center;
}

.preview-logo{
    width:60px;
    height:60px;
    display:grid;
    place-items:center;
    margin:0 auto 16px;
    border-radius:18px;
    background:linear-gradient(135deg,var(--blue),var(--purple));
    font-size:30px;
    font-weight:900;
}

.preview-content p{
    color:var(--muted);
}

.preview-products{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:30px;
}

.preview-products div{
    height:95px;
    border-radius:14px;
    background:linear-gradient(135deg,rgba(79,124,255,.2),rgba(139,92,246,.1));
    border:1px solid var(--border);
}

/* SECTIONS */

section{
    padding:90px 0;
}

.section-head{
    max-width:800px;
    margin-bottom:40px;
}

.section-head h2{
    font-size:clamp(38px,5vw,58px);
    line-height:1.08;
    margin:10px 0;
}

.section-head p{
    color:var(--muted);
    font-size:18px;
}

/* DESIGNS */

.design-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.design-card{
    border:1px solid var(--border);
    background:var(--card);
    border-radius:22px;
    padding:16px;
}

.design-preview{
    height:180px;
    border-radius:15px;
    margin-bottom:17px;
}

.design-preview.business{
    background:linear-gradient(135deg,#0f172a,#2563eb);
}

.design-preview.modern{
    background:linear-gradient(135deg,#111827,#8b5cf6,#25d3ff);
}

.design-preview.elegant{
    background:linear-gradient(135deg,#16120f,#8a6d3b);
}

.design-preview.shop{
    background:linear-gradient(135deg,#17201d,#16a085);
}

.design-card p{
    color:var(--muted);
}

/* PLANS */

.plans-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.plan{
    position:relative;
    border:1px solid var(--border);
    background:var(--card);
    border-radius:23px;
    padding:28px;
}

.plan.featured{
    border-color:rgba(79,124,255,.55);
    box-shadow:0 20px 50px rgba(79,124,255,.12);
}

.popular{
    position:absolute;
    right:18px;
    top:18px;
    color:#8edcff;
    font-size:11px;
    font-weight:800;
}

.plan-price{
    font-size:34px;
    font-weight:900;
    margin:12px 0;
}

.plan-price small{
    font-size:13px;
    color:var(--muted);
}

.plan p{
    color:var(--muted);
    min-height:48px;
}

.plan a{
    display:block;
    margin-top:20px;
    padding:12px;
    border-radius:11px;
    text-align:center;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.04);
}

/* FEATURES */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.feature-grid > div{
    padding:25px;
    border-radius:20px;
    border:1px solid var(--border);
    background:var(--card);
}

.feature-grid p{
    color:var(--muted);
}

/* CTA */

.cta-box{
    padding:55px;
    text-align:center;
    border:1px solid var(--border);
    border-radius:30px;
    background:
        radial-gradient(circle at left,rgba(79,124,255,.20),transparent 35%),
        radial-gradient(circle at right,rgba(139,92,246,.18),transparent 35%),
        rgba(255,255,255,.035);
}

.cta-box h2{
    font-size:clamp(35px,5vw,60px);
}

.cta-box p{
    color:var(--muted);
    max-width:700px;
    margin:15px auto 25px;
}

/* FOOTER */

.site-footer{
    border-top:1px solid var(--border);
    background:#050811;
    padding-top:55px;
}

.footer-inner{
    width:min(1200px,calc(100% - 32px));
    margin:auto;
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:60px;
}

.footer-brand p{
    color:var(--muted);
    max-width:350px;
    margin-top:10px;
}

.footer-links{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.footer-links h4{
    margin-bottom:12px;
}

.footer-links a{
    display:block;
    color:#909db3;
    margin:7px 0;
    font-size:14px;
}

.footer-bottom{
    margin-top:45px;
    padding:20px;
    border-top:1px solid var(--border);
    text-align:center;
    color:#69768c;
    font-size:12px;
}

/* MOBILE */

@media(max-width:950px){

    .main-nav{
        display:none;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

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

    .plans-grid{
        grid-template-columns:1fr;
    }

    .feature-grid{
        grid-template-columns:1fr;
    }

    .footer-inner{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){

    .languages{
        display:none;
    }

    .design-grid{
        grid-template-columns:1fr;
    }

    .header-cta{
        padding:10px 12px;
        font-size:12px;
    }

    .brand-text{
        display:none;
    }

    .cta-box{
        padding:35px 20px;
    }
}

/* ATERION LOGO */

.brand-logo{
    width:155px;
    max-height:64px;
    object-fit:contain;
    display:block;
}

@media(max-width:600px){
    .brand-logo{
        width:118px;
        max-height:52px;
    }
}

/* INTERNAL PAGES */

.page-hero{
    padding:100px 0 45px;
}

.page-hero h1{
    font-size:clamp(48px,7vw,78px);
    line-height:1.02;
    letter-spacing:-.045em;
    margin:15px 0 20px;
}

.page-hero p{
    max-width:800px;
    color:var(--muted);
    font-size:19px;
}

.brand-logo{
    width:155px;
    max-height:64px;
    object-fit:contain;
    display:block;
}

@media(max-width:600px){

    .brand-logo{
        width:110px;
    }

    .page-hero{
        padding-top:65px;
    }
}

/* =========================================
   CONTACT
========================================= */

.contact-hero{
    padding:105px 0 45px;
}

.contact-hero h1{
    font-size:clamp(50px,7vw,80px);
    line-height:1;
    letter-spacing:-.045em;
    margin:15px 0 20px;
}

.contact-hero p{
    max-width:760px;
    color:var(--muted);
    font-size:19px;
}

.contact-section{
    padding:30px 0 100px;
}

.contact-layout{
    display:grid;
    grid-template-columns:.75fr 1.25fr;
    gap:24px;
    align-items:start;
}

.contact-info,
.contact-form-card{
    border:1px solid var(--border);
    border-radius:26px;
    background:rgba(255,255,255,.045);
}

.contact-info{
    padding:34px;
}

.contact-info-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple)
        );
    margin-bottom:22px;
}

.contact-info h2{
    font-size:28px;
    margin-bottom:10px;
}

.contact-info > p{
    color:var(--muted);
    margin-bottom:28px;
}

.contact-info-item{
    padding:18px 0;
    border-top:1px solid
        rgba(255,255,255,.07);
}

.contact-info-item strong{
    display:block;
}

.contact-info-item span{
    color:var(--muted);
    font-size:14px;
}

.contact-form-card{
    padding:32px;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px;
}

.field.full{
    grid-column:1/-1;
}

.field label{
    display:block;
    margin-bottom:7px;
    color:#d9e1ef;
    font-size:14px;
    font-weight:650;
}

.field input,
.field select,
.field textarea{
    width:100%;
    padding:14px 15px;
    border-radius:12px;
    border:1px solid
        rgba(255,255,255,.11);
    background:
        rgba(255,255,255,.045);
    color:#fff;
    font:inherit;
    outline:none;
}

.field select option{
    color:#111;
}

.field textarea{
    min-height:180px;
    resize:vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
    border-color:#5c82ff;
    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.10);
}

.contact-consent label{
    display:flex;
    gap:10px;
    align-items:flex-start;
}

.contact-consent input{
    width:auto;
    margin-top:4px;
}

.contact-submit{
    border:0;
    border-radius:13px;
    padding:15px 23px;
    color:#fff;
    font-weight:850;
    cursor:pointer;
    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--purple)
        );
}

.contact-success,
.contact-error{
    padding:15px;
    margin-bottom:20px;
    border-radius:13px;
}

.contact-success{
    border:1px solid
        rgba(34,197,94,.30);
    background:
        rgba(34,197,94,.09);
    color:#b7f5cd;
}

.contact-error{
    border:1px solid
        rgba(239,68,68,.28);
    background:
        rgba(239,68,68,.09);
    color:#ffc0c0;
}

.hp{
    position:absolute;
    left:-9999px;
}

@media(max-width:850px){

    .contact-layout{
        grid-template-columns:1fr;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .field.full{
        grid-column:auto;
    }
}

/* =========================================
   LEGAL PAGES
========================================= */

.legal-section{
    padding:20px 0 100px;
}

.legal-card{
    max-width:950px;
    padding:38px;
    border-radius:26px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
}

.legal-card h2{
    margin-top:30px;
    margin-bottom:10px;
    font-size:24px;
}

.legal-card h2:first-child{
    margin-top:0;
}

.legal-card p,
.legal-card li{
    color:var(--muted);
}

.legal-card ul{
    margin-left:20px;
}

/* COMPANY FOOTER */

.footer-company{
    width:min(1200px,calc(100% - 32px));
    margin:35px auto 0;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.07);
    text-align:center;
    color:#7f8ca2;
    font-size:13px;
    line-height:1.9;
}

.footer-company strong{
    color:#d4deee;
    font-size:14px;
}

.footer-company a{
    color:#7acfff;
}

/* =========================================
   SMART HEADER AUTH
========================================= */

.header-login{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 15px;
    border-radius:11px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.035);
    color:#dbe4f3;
    font-size:13px;
    font-weight:750;
    transition:.2s ease;
}

.header-login:hover{
    background:rgba(255,255,255,.07);
    color:#fff;
}

.header-login.logged{
    border-color:rgba(79,124,255,.35);
    background:rgba(79,124,255,.08);
    color:#9ec8ff;
}

@media(max-width:950px){

    .header-actions{
        gap:8px;
    }

    .header-login{
        padding:9px 10px;
        font-size:11px;
    }

    .header-cta{
        padding:10px 11px;
        font-size:11px;
    }
}

@media(max-width:600px){

    .header-actions{
        margin-left:auto;
    }

    .header-login{
        white-space:nowrap;
    }
}

/* =========================================
   AUTH
========================================= */

.auth-section{
    padding:90px 16px 110px;
}

.auth-card{
    width:min(850px,100%);
    margin:auto;
    padding:38px;
    border-radius:28px;
    border:1px solid var(--border);
    background:
        radial-gradient(
            circle at top right,
            rgba(79,124,255,.09),
            transparent 35%
        ),
        rgba(255,255,255,.035);
}

.auth-heading{
    margin-bottom:30px;
}

.auth-heading h1{
    font-size:clamp(40px,6vw,62px);
    line-height:1.05;
    margin:10px 0;
}

.auth-heading p{
    color:var(--muted);
}

.account-type{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:22px;
}

.account-type label{
    cursor:pointer;
}

.account-type input{
    display:none;
}

.account-type span{
    display:block;
    padding:14px;
    text-align:center;
    border-radius:12px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.035);
}

.account-type input:checked + span{
    border-color:#5d83ff;
    background:rgba(79,124,255,.12);
}

.auth-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px;
}

.auth-grid .full{
    grid-column:1/-1;
}

.password-wrap{
    position:relative;
}

.password-wrap input{
    padding-right:52px;
}

.password-eye{
    position:absolute;
    right:9px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#cbd5e1;
    cursor:pointer;
}

.password-strength{
    height:5px;
    margin-top:8px;
    overflow:hidden;
    border-radius:99px;
    background:rgba(255,255,255,.07);
}

#strengthBar{
    width:0;
    height:100%;
    transition:.2s;
    background:linear-gradient(
        90deg,
        #ef4444,
        #f59e0b,
        #22c55e
    );
}

.checkbox-field label{
    display:flex;
    gap:10px;
    align-items:flex-start;
}

.checkbox-field input{
    width:auto;
    margin-top:5px;
}

.auth-submit{
    width:100%;
    border:0;
    border-radius:13px;
    padding:16px;
    color:#fff;
    font-weight:850;
    cursor:pointer;
    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--purple)
        );
}

@media(max-width:650px){

    .auth-card{
        padding:25px 18px;
    }

    .auth-grid{
        grid-template-columns:1fr;
    }

    .auth-grid .full{
        grid-column:auto;
    }

}

/* =========================================
   2FA
========================================= */

.totp-setup{
    display:grid;
    grid-template-columns:230px 1fr;
    gap:30px;
    align-items:center;
    margin:30px 0;
}

#totpQr{
    background:#fff;
    padding:10px;
    border-radius:15px;
    width:max-content;
}

.totp-secret span{
    display:block;
    color:var(--muted);
    margin-bottom:8px;
}

.totp-secret code{
    display:block;
    overflow-wrap:anywhere;
    padding:15px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
}

.recovery-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin:25px 0;
}

.recovery-box code{
    padding:12px;
    text-align:center;
    background:rgba(255,255,255,.06);
    border-radius:10px;
}

.auth-divider{
    text-align:center;
    color:var(--muted);
    margin:17px 0;
}

.dashboard-go{
    display:block;
    text-align:center;
}

/* =========================================
   DASHBOARD
========================================= */

.dashboard-layout{
    width:min(1500px,100%);
    margin:auto;
    min-height:calc(100vh - 80px);
    display:grid;
    grid-template-columns:260px 1fr;
}

.dashboard-sidebar{
    padding:30px 18px;
    border-right:1px solid var(--border);
    background:#070b14;
}

.dash-nav-title{
    padding:0 12px 20px;
    color:#7ccfff;
    font-weight:900;
}

.dashboard-sidebar a{
    display:block;
    padding:11px 12px;
    margin:3px 0;
    border-radius:10px;
    color:#aebad0;
}

.dashboard-sidebar a:hover{
    color:#fff;
    background:rgba(255,255,255,.055);
}

.dash-separator{
    height:1px;
    margin:15px 10px;
    background:rgba(255,255,255,.07);
}

.dashboard-content{
    padding:45px;
}

.dashboard-welcome{
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:center;
    margin-bottom:35px;
}

.dashboard-welcome h1{
    font-size:clamp(38px,5vw,60px);
    margin:7px 0;
}

.dashboard-welcome p{
    color:var(--muted);
}

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:17px;
}

.dash-card{
    padding:24px;
    border-radius:20px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
}

.dash-card span{
    display:block;
    color:var(--muted);
    font-size:13px;
}

.dash-card strong{
    display:block;
    margin:8px 0;
    font-size:28px;
}

.dash-card p{
    color:var(--muted);
    font-size:13px;
}

.dashboard-panel{
    margin-top:25px;
    padding:35px;
    border-radius:23px;
    border:1px solid var(--border);
    background:
        radial-gradient(
            circle at right,
            rgba(79,124,255,.14),
            transparent 40%
        ),
        rgba(255,255,255,.035);
}

.dashboard-panel p{
    color:var(--muted);
    margin:10px 0 22px;
}

@media(max-width:1000px){

    .dashboard-cards{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:760px){

    .totp-setup{
        grid-template-columns:1fr;
    }

    .dashboard-layout{
        grid-template-columns:1fr;
    }

    .dashboard-sidebar{
        border-right:0;
        border-bottom:1px solid var(--border);
    }

    .dashboard-content{
        padding:25px 16px;
    }

    .dashboard-cards{
        grid-template-columns:1fr;
    }

    .dashboard-welcome{
        align-items:flex-start;
        flex-direction:column;
    }

    .recovery-box{
        grid-template-columns:1fr;
    }
}

/* ==========================================================
   ATERION STORE - DASHBOARD SHELL V1
========================================================== */

.aterion-dashboard{
    min-height:100vh;
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(70,100,255,.10),
            transparent 35%
        ),
        #070a12;
}

.dash-topbar{
    min-height:74px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:20px;
    padding:0 24px;
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(7,10,18,.94);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.dash-topbar-left,
.dash-topbar-right{
    display:flex;
    align-items:center;
    gap:16px;
}

.dash-topbar-right{
    justify-content:flex-end;
}

.dash-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-weight:800;
}

.dash-brand img{
    width:38px;
    height:38px;
    object-fit:cover;
    border-radius:10px;
}

.dash-topbar-center{
    color:#dce5f5;
    font-weight:700;
}

.dash-view-site{
    color:#9baac3;
    font-size:14px;
}

.dash-user{
    display:flex;
    align-items:center;
    gap:10px;
}

.dash-avatar{
    width:38px;
    height:38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    font-weight:800;
    background:
        linear-gradient(
            135deg,
            #496cff,
            #8c55ff
        );
}

.dash-user-text{
    display:flex;
    flex-direction:column;
}

.dash-user-text strong{
    font-size:13px;
}

.dash-user-text span{
    color:#8491a8;
    font-size:11px;
}

.dash-mobile-menu{
    display:none;
    border:0;
    background:transparent;
    color:#fff;
    font-size:25px;
    cursor:pointer;
}

.dashboard-shell{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    min-height:calc(100vh - 74px);
}

.dashboard-sidebar{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:25px 14px;
    background:#090d16;
    border-right:1px solid rgba(255,255,255,.07);
}

.dash-nav-group{
    margin-bottom:24px;
}

.dash-nav-label{
    display:block;
    padding:0 12px 8px;
    color:#58667e;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.dash-nav-link{
    display:flex;
    align-items:center;
    gap:11px;
    padding:10px 12px;
    margin:2px 0;
    border-radius:10px;
    color:#9ba9c0;
    font-size:14px;
    transition:.18s ease;
}

.dash-nav-link:hover,
.dash-nav-link.active{
    color:#fff;
    background:rgba(85,112,255,.12);
}

.dash-nav-link.active{
    box-shadow:
        inset 3px 0 0 #6684ff;
}

.dash-sidebar-bottom{
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.07);
}

.dash-security-mini{
    padding:14px;
    border-radius:12px;
    background:rgba(59,199,140,.07);
    border:1px solid rgba(59,199,140,.15);
}

.dash-security-mini strong,
.dash-security-mini span{
    display:block;
}

.dash-security-mini strong{
    font-size:12px;
    color:#74e1b4;
}

.dash-security-mini span{
    margin-top:4px;
    font-size:11px;
    color:#75849c;
}

.dashboard-main{
    width:100%;
    max-width:1500px;
    padding:40px;
}

.dashboard-welcome{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:30px;
}

.dashboard-welcome h1{
    margin:5px 0 8px;
    font-size:clamp(32px,4vw,52px);
}

.dashboard-welcome p{
    margin:0;
    color:#8997ad;
}

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.dash-card{
    min-height:180px;
    padding:22px;
    border-radius:18px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.075);
}

.dash-card-icon{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    margin-bottom:20px;
    border-radius:10px;
    background:rgba(93,119,255,.11);
}

.dash-card span{
    display:block;
    color:#7f8da4;
    font-size:12px;
}

.dash-card strong{
    display:block;
    margin:7px 0;
    font-size:27px;
}

.dash-card p{
    margin:0;
    color:#718096;
    font-size:12px;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:1.6fr 1fr;
    gap:18px;
    margin-top:18px;
}

.dashboard-panel{
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.075);
}

.dashboard-start{
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(84,100,255,.16),
            transparent 45%
        ),
        rgba(255,255,255,.03);
}

.dashboard-panel h2{
    margin:8px 0;
}

.dashboard-panel p{
    max-width:650px;
    margin:0 0 22px;
    color:#8391a8;
}

.dash-account-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.dash-account-line:last-child{
    border-bottom:0;
}

.dash-account-line span{
    color:#79879d;
    font-size:13px;
}

.dash-account-line strong{
    font-size:13px;
    text-align:right;
}

.dash-footer{
    min-height:64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:0 30px 0 290px;
    color:#647187;
    font-size:12px;
    background:#070a12;
    border-top:1px solid rgba(255,255,255,.06);
}

.dash-footer-links{
    display:flex;
    gap:20px;
}

.dash-footer a{
    color:#75839a;
}

@media(max-width:1050px){

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

    .dashboard-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:800px){

    .dash-topbar{
        grid-template-columns:1fr auto;
    }

    .dash-topbar-center{
        display:none;
    }

    .dash-user-text,
    .dash-view-site{
        display:none;
    }

    .dash-mobile-menu{
        display:block;
    }

    .dashboard-shell{
        display:block;
    }

    .dashboard-sidebar{
        position:fixed;
        z-index:200;
        top:74px;
        bottom:0;
        left:0;
        width:270px;
        overflow:auto;
        transform:translateX(-105%);
        transition:transform .2s ease;
        box-shadow:20px 0 50px rgba(0,0,0,.35);
    }

    .dashboard-sidebar.open{
        transform:translateX(0);
    }

    .dashboard-main{
        padding:25px 16px;
    }

    .dash-footer{
        padding:20px 16px;
    }

}

@media(max-width:560px){

    .dashboard-welcome{
        align-items:flex-start;
        flex-direction:column;
    }

    .dashboard-cards{
        grid-template-columns:1fr;
    }

    .dash-footer{
        align-items:flex-start;
        flex-direction:column;
    }

    .dash-footer-links{
        flex-wrap:wrap;
    }

}

/* ==========================================================
   DASHBOARD DOCUMENT RESET
========================================================== */

.dashboard-body{
    margin:0;
    min-height:100vh;
    background:#070a12;
    color:#fff;
    overflow-x:hidden;
}

.dashboard-body *,
.dashboard-body *::before,
.dashboard-body *::after{
    box-sizing:border-box;
}

.dashboard-body img{
    max-width:100%;
    height:auto;
}

.dashboard-body a{
    text-decoration:none;
}

.dash-brand img{
    width:42px !important;
    height:42px !important;
    max-width:42px !important;
    object-fit:cover;
    border-radius:10px;
}


/* ==========================================================
   ATERION ONBOARDING V1
========================================================== */

.onboarding{
    min-height:100vh;
    background:
        radial-gradient(
            circle at 75% 0,
            rgba(79,124,255,.14),
            transparent 33%
        ),
        #070a12;
}

.onboarding-top{
    min-height:75px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:0 28px;
    border-bottom:1px solid rgba(255,255,255,.075);
    background:rgba(7,10,18,.92);
}

.onboarding-brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:850;
}

.onboarding-brand img{
    width:44px;
    height:44px;
    border-radius:11px;
    object-fit:cover;
}

.onboarding-account{
    color:#7f8da4;
    font-size:13px;
}

.onboarding-container{
    width:min(1250px,calc(100% - 32px));
    margin:auto;
    padding:60px 0 90px;
}

.onboarding-heading{
    text-align:center;
    max-width:780px;
    margin:0 auto 35px;
}

.onboarding-heading h1{
    font-size:clamp(42px,6vw,72px);
    margin:8px 0;
}

.onboarding-heading p{
    color:var(--muted);
    font-size:17px;
}

.onboarding-progress{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    max-width:850px;
    margin:0 auto 45px;
}

.onboarding-step{
    position:relative;
    text-align:center;
    color:#556279;
}

.onboarding-step::before{
    content:"";
    position:absolute;
    top:17px;
    left:-50%;
    width:100%;
    height:2px;
    background:#20283a;
}

.onboarding-step:first-child::before{
    display:none;
}

.onboarding-step span{
    position:relative;
    z-index:2;
    width:36px;
    height:36px;
    margin:auto;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#111726;
    border:1px solid #283147;
    font-weight:800;
}

.onboarding-step strong{
    display:block;
    margin-top:8px;
    font-size:11px;
}

.onboarding-step.active{
    color:#b5c8ff;
}

.onboarding-step.active span{
    background:#526fff;
    border-color:#6f89ff;
    color:white;
}

.onboarding-step.active::before{
    background:#526fff;
}

.onboarding-panel{
    padding:35px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
}

.onboarding-panel > h2{
    font-size:32px;
    margin:0 0 8px;
}

.onboarding-panel > p{
    color:var(--muted);
    margin:0 0 28px;
}

.onboarding-plans{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.onboarding-plan{
    position:relative;
    padding:25px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.09);
    background:#0b101b;
}

.onboarding-plan.featured{
    border-color:#5979ff;
    box-shadow:0 0 0 1px rgba(89,121,255,.15);
}

.onboarding-plan h3{
    font-size:22px;
}

.onboarding-price{
    margin:10px 0;
    font-size:30px;
    font-weight:900;
}

.onboarding-price small{
    color:var(--muted);
    font-size:12px;
}

.onboarding-plan p{
    min-height:45px;
    color:var(--muted);
}

.onboarding-plan button,
.onboarding-theme button,
.onboarding-actions button{
    border:0;
    padding:13px 17px;
    border-radius:11px;
    background:linear-gradient(90deg,#4f7cff,#8659f7);
    color:white;
    font-weight:800;
    cursor:pointer;
}

.onboarding-themes{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:17px;
}

.onboarding-theme{
    padding:16px;
    border-radius:20px;
    background:#0b101b;
    border:1px solid rgba(255,255,255,.08);
}

.theme-demo{
    height:190px;
    margin-bottom:17px;
    border-radius:14px;
}

.theme-demo.business{
    background:
        linear-gradient(135deg,#101827,#235ee8);
}

.theme-demo.modern{
    background:
        linear-gradient(135deg,#10131d,#8d53f7,#2acbe9);
}

.theme-demo.elegant{
    background:
        linear-gradient(135deg,#18140f,#876d3d);
}

.theme-demo.shop{
    background:
        linear-gradient(135deg,#12201a,#17a177);
}

.onboarding-theme p{
    min-height:50px;
    color:var(--muted);
}

.onboarding-form{
    max-width:800px;
    margin:auto;
}

.domain-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.domain-options label{
    cursor:pointer;
}

.domain-options input{
    width:auto;
}

.onboarding-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:28px;
}

.onboarding-actions form{
    margin:0;
}

.onboarding-actions .secondary,
.onboarding-back button{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
}

.onboarding-back{
    margin-top:25px;
}

.summary-list{
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.07);
}

.summary-list > div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:18px 20px;
    background:#0a0f19;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.summary-list > div:last-child{
    border-bottom:0;
}

.summary-list span{
    color:var(--muted);
}

.payment-panel{
    max-width:700px;
    margin:auto;
    text-align:center;
}

.payment-icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    display:grid;
    place-items:center;
    border-radius:22px;
    background:linear-gradient(135deg,#4f7cff,#8458f6);
    font-size:32px;
    font-weight:900;
}

.payment-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:18px;
    margin:25px 0;
    border-radius:14px;
    background:#0b101b;
}

.payment-placeholder{
    padding:30px;
    margin:20px 0;
    border-radius:18px;
    border:1px dashed rgba(255,255,255,.16);
    background:rgba(255,255,255,.025);
}

.payment-placeholder span,
.payment-placeholder strong,
.payment-placeholder small{
    display:block;
}

.payment-placeholder span{
    color:#8fa9ff;
    font-weight:900;
    font-size:20px;
}

.payment-placeholder strong{
    margin:7px 0;
}

.payment-placeholder small{
    color:var(--muted);
}

.onboarding-footer{
    padding:25px;
    text-align:center;
    color:#59677d;
    border-top:1px solid rgba(255,255,255,.06);
}

@media(max-width:950px){

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

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

}

@media(max-width:650px){

    .onboarding-top{
        padding:0 15px;
    }

    .onboarding-account{
        display:none;
    }

    .onboarding-progress{
        grid-template-columns:repeat(5,1fr);
    }

    .onboarding-step strong{
        display:none;
    }

    .onboarding-plans,
    .onboarding-themes{
        grid-template-columns:1fr;
    }

    .onboarding-panel{
        padding:22px 16px;
    }

    .domain-options{
        grid-template-columns:1fr;
    }

}

/* ==========================================================
   ATERION DASHBOARD V2
========================================================== */

.dashboard-body{
    margin:0;
    min-height:100vh;
    overflow-x:hidden;
    background:#080b13;
    color:#f5f7ff;
}

.dashboard-body *,
.dashboard-body *::before,
.dashboard-body *::after{
    box-sizing:border-box;
}

.dash-v2-header{
    height:72px;
    position:sticky;
    top:0;
    z-index:200;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:20px;
    padding:0 22px;
    background:rgba(8,11,19,.96);
    border-bottom:1px solid rgba(255,255,255,.075);
    backdrop-filter:blur(18px);
}

.dash-v2-header-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.dash-v2-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    font-weight:850;
}

.dash-v2-brand img{
    width:40px !important;
    height:40px !important;
    max-width:40px !important;
    object-fit:cover;
    border-radius:10px;
}

.dash-mode-switch{
    display:flex;
    padding:4px;
    border-radius:12px;
    background:#101520;
    border:1px solid rgba(255,255,255,.07);
}

.dash-mode-switch a{
    padding:8px 13px;
    border-radius:9px;
    color:#79879f;
    text-decoration:none;
    font-size:12px;
    font-weight:750;
}

.dash-mode-switch a.active{
    color:#fff;
    background:#20283a;
}

.dash-v2-account{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
}

.dash-v2-avatar{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:
        linear-gradient(
            135deg,
            #4d6dff,
            #8c54ff
        );
    font-weight:850;
}

.dash-v2-account-info{
    display:flex;
    flex-direction:column;
}

.dash-v2-account-info strong{
    font-size:12px;
}

.dash-v2-account-info span{
    color:#6f7e96;
    font-size:10px;
}

.dash-v2-mobile-button{
    display:none;
    border:0;
    background:none;
    color:#fff;
    font-size:24px;
}

.dash-v2-shell{
    display:grid;
    grid-template-columns:245px minmax(0,1fr);
    min-height:calc(100vh - 72px);
}

.dash-v2-sidebar{
    padding:22px 12px;
    border-right:1px solid rgba(255,255,255,.065);
    background:#090d16;
}

.dash-v2-section{
    margin-bottom:22px;
}

.dash-v2-label{
    padding:0 11px 7px;
    color:#4e5b72;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.dash-v2-link{
    display:flex;
    align-items:center;
    gap:10px;
    margin:2px 0;
    padding:10px 11px;
    border-radius:9px;
    color:#8998b0;
    text-decoration:none;
    font-size:13px;
}

.dash-v2-link:hover,
.dash-v2-link.active{
    background:rgba(84,108,255,.11);
    color:#fff;
}

.dash-v2-link.active{
    box-shadow:
        inset 3px 0 0 #5c7bff;
}

.dash-v2-account-menu{
    margin:5px 0 22px;
}

.dash-v2-account-menu summary{
    display:flex;
    gap:10px;
    align-items:center;
    padding:10px 11px;
    border-radius:9px;
    color:#8998b0;
    font-size:13px;
    cursor:pointer;
    list-style:none;
}

.dash-v2-account-menu summary:hover{
    background:rgba(255,255,255,.04);
}

.dash-v2-account-menu > div{
    margin:5px 0 0 31px;
    border-left:1px solid #252e41;
}

.dash-v2-account-menu > div a{
    display:block;
    padding:8px 12px;
    color:#718097;
    text-decoration:none;
    font-size:12px;
}

.dash-v2-account-menu > div a.active,
.dash-v2-account-menu > div a:hover{
    color:#fff;
}

.dash-v2-main{
    width:100%;
    max-width:1550px;
    padding:38px;
}

.dash-v2-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:25px;
    margin-bottom:28px;
}

.dash-v2-heading h1{
    margin:6px 0;
    font-size:clamp(32px,4vw,52px);
}

.dash-v2-heading p{
    margin:0;
    color:#78879e;
}

.dash-v2-primary,
.dash-v2-secondary{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    padding:12px 17px;
    border:0;
    border-radius:10px;
    text-decoration:none;
    cursor:pointer;
    font-weight:800;
    font-size:13px;
}

.dash-v2-primary{
    color:#fff;
    background:
        linear-gradient(
            90deg,
            #4f72ff,
            #8059ec
        );
}

.dash-v2-secondary{
    color:#c4d0e4;
    background:#121824;
    border:1px solid #252e40;
}

.dash-v2-stats{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.dash-v2-stats article{
    padding:21px;
    border-radius:15px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.065);
}

.dash-v2-stats span,
.dash-v2-stats small{
    display:block;
    color:#718097;
}

.dash-v2-stats span{
    font-size:11px;
}

.dash-v2-stats strong{
    display:block;
    margin:8px 0;
    font-size:23px;
}

.dash-v2-stats small{
    font-size:10px;
}

.dash-v2-home-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:16px;
    margin-top:16px;
}

.dash-v2-panel{
    padding:27px;
    border-radius:17px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.065);
}

.dash-v2-panel h2{
    margin-top:0;
}

.dash-v2-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.dash-v2-row{
    display:flex;
    justify-content:space-between;
    gap:25px;
    padding:13px 0;
    border-bottom:1px solid rgba(255,255,255,.055);
}

.dash-v2-row:last-child{
    border-bottom:0;
}

.dash-v2-row span{
    color:#708097;
    font-size:12px;
}

.dash-v2-row strong{
    text-align:right;
    font-size:12px;
}

.dash-v2-tool-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.dash-v2-tool-card{
    min-height:155px;
    padding:22px;
    border-radius:16px;
    color:#fff;
    text-decoration:none;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.065);
    transition:.18s ease;
}

.dash-v2-tool-card:hover{
    transform:translateY(-2px);
    border-color:#425171;
}

.dash-v2-tool-card > span{
    display:block;
    margin-bottom:20px;
    font-size:26px;
}

.dash-v2-tool-card strong,
.dash-v2-tool-card small{
    display:block;
}

.dash-v2-tool-card small{
    margin-top:5px;
    color:#718097;
}

.dash-v2-empty{
    min-height:400px;
    display:grid;
    place-items:center;
    align-content:center;
    text-align:center;
    padding:35px;
    border:1px dashed #283146;
    border-radius:18px;
    background:#0b1019;
}

.dash-v2-empty-icon{
    width:55px;
    height:55px;
    display:grid;
    place-items:center;
    border-radius:17px;
    background:#141c2c;
    font-size:23px;
}

.dash-v2-empty h2{
    margin:18px 0 7px;
}

.dash-v2-empty p{
    max-width:550px;
    color:#718097;
}

.preview-toolbar{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:10px;
    margin-bottom:14px;
    border-radius:13px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.065);
}

.preview-toolbar button,
.preview-toolbar a{
    border:0;
    padding:8px 12px;
    border-radius:8px;
    color:#76859d;
    background:transparent;
    text-decoration:none;
    cursor:pointer;
}

.preview-toolbar button.active{
    color:#fff;
    background:#20293a;
}

.preview-toolbar a{
    margin-left:auto;
}

.preview-stage{
    min-height:750px;
    display:flex;
    justify-content:center;
    padding:18px;
    overflow:auto;
    border-radius:16px;
    background:#151b26;
}

.preview-stage iframe{
    width:100%;
    min-height:720px;
    border:0;
    background:white;
    transition:width .25s ease;
    box-shadow:0 15px 50px rgba(0,0,0,.3);
}

.dash-v2-footer{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#4d5b72;
    font-size:11px;
    border-top:1px solid rgba(255,255,255,.055);
    background:#080b13;
}

@media(max-width:1050px){

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

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

    .dash-v2-home-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:800px){

    .dash-v2-header{
        grid-template-columns:1fr auto;
    }

    .dash-mode-switch{
        position:fixed;
        bottom:15px;
        left:50%;
        z-index:300;
        transform:translateX(-50%);
        box-shadow:0 12px 40px rgba(0,0,0,.35);
    }

    .dash-v2-account-info{
        display:none;
    }

    .dash-v2-mobile-button{
        display:block;
    }

    .dash-v2-shell{
        display:block;
    }

    .dash-v2-sidebar{
        position:fixed;
        top:72px;
        bottom:0;
        left:0;
        z-index:250;
        width:270px;
        overflow:auto;
        transform:translateX(-105%);
        transition:.2s ease;
        box-shadow:20px 0 60px rgba(0,0,0,.4);
    }

    .dash-v2-sidebar.open{
        transform:translateX(0);
    }

    .dash-v2-main{
        padding:25px 16px 90px;
    }

}

@media(max-width:580px){

    .dash-v2-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .dash-v2-stats,
    .dash-v2-tool-grid{
        grid-template-columns:1fr;
    }

    .preview-toolbar{
        justify-content:flex-start;
        overflow:auto;
    }

    .preview-toolbar a{
        margin-left:0;
        white-space:nowrap;
    }

}

/* ==========================================================
   DASHBOARD V3 - FORMS / TABLES / EDITOR
========================================================== */

.dash-editor-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:18px;
}

.dash-form-card{
    padding:28px;
    border-radius:18px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.07);
}

.dash-form-card h2{
    margin-top:0;
}

.dash-field{
    margin-bottom:17px;
}

.dash-field label{
    display:block;
    margin-bottom:7px;
    color:#9ba9bf;
    font-size:12px;
    font-weight:700;
}

.dash-field input,
.dash-field select,
.dash-field textarea{
    width:100%;
    min-height:45px;
    padding:11px 13px;
    border-radius:10px;
    border:1px solid #263044;
    background:#090e17;
    color:#f4f7ff;
    outline:none;
    font:inherit;
}

.dash-field textarea{
    min-height:130px;
    resize:vertical;
}

.dash-field input:focus,
.dash-field select:focus,
.dash-field textarea:focus{
    border-color:#5977ff;
    box-shadow:
        0 0 0 3px
        rgba(89,119,255,.10);
}

.dash-theme-selector{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.dash-theme-choice input{
    display:none;
}

.dash-theme-choice span{
    min-height:80px;
    display:grid;
    place-items:center;
    padding:10px;
    border-radius:12px;
    border:1px solid #263044;
    background:#0a0f19;
    cursor:pointer;
    font-size:12px;
    font-weight:800;
}

.dash-theme-choice input:checked + span{
    border-color:#5f7dff;
    background:
        rgba(82,109,255,.14);
}

.dash-table-wrap{
    overflow:auto;
    border:1px solid rgba(255,255,255,.07);
    border-radius:16px;
}

.dash-table{
    width:100%;
    border-collapse:collapse;
    min-width:700px;
}

.dash-table th,
.dash-table td{
    padding:14px 16px;
    text-align:left;
    border-bottom:1px solid rgba(255,255,255,.055);
}

.dash-table th{
    color:#738198;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.07em;
    background:#0a0f18;
}

.dash-table td{
    font-size:12px;
}

.dash-table tr:last-child td{
    border-bottom:0;
}

.dash-table-price{
    font-weight:800;
}

.dash-status{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border-radius:99px;
    background:
        rgba(54,207,139,.10);
    color:#6ce2af;
    font-size:10px;
    font-weight:800;
}

.dash-status.pending{
    background:
        rgba(245,158,11,.10);
    color:#f8bb55;
}

.dash-danger{
    border:0;
    background:transparent;
    color:#ef7c89;
    cursor:pointer;
}

.dash-action-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.dash-action-bar h1{
    margin:0;
}

.dash-quick-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.dash-quick-card{
    padding:22px;
    border-radius:15px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.07);
}

.dash-quick-card strong,
.dash-quick-card span{
    display:block;
}

.dash-quick-card span{
    color:#738198;
    font-size:11px;
}

.dash-quick-card strong{
    margin-top:8px;
    font-size:20px;
}

.ticket-card{
    padding:18px;
    margin-bottom:10px;
    border-radius:13px;
    background:#0c111b;
    border:1px solid rgba(255,255,255,.06);
}

.ticket-card-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.ticket-card p{
    color:#8190a7;
}

@media(max-width:900px){

    .dash-editor-grid{
        grid-template-columns:1fr;
    }

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

}

@media(max-width:550px){

    .dash-quick-grid,
    .dash-theme-selector{
        grid-template-columns:1fr;
    }

}

/* ==========================================================
   ATERION V4 - MEDIA / PAGES
========================================================== */

.media-grid{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(190px,1fr)
        );
    gap:15px;
}

.media-card{
    overflow:hidden;
    border-radius:15px;
    background:#0d121d;
    border:1px solid rgba(255,255,255,.07);
}

.media-card img{
    display:block;
    width:100%;
    height:160px;
    object-fit:cover;
    background:#151c28;
}

.media-card > div{
    padding:13px;
}

.media-card strong{
    display:block;
    margin-bottom:10px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
}

.dash-v2-heading > form{
    margin:0;
}

.dash-v2-heading{
    flex-wrap:wrap;
}

.dash-v2-heading > a,
.dash-v2-heading > form{
    flex-shrink:0;
}

@media(max-width:600px){

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

}


/* ==========================================================
   ATERION V5 - PRODUCT EDITOR
========================================================== */

.product-editor-layout{
    display:grid;
    grid-template-columns:
        minmax(0,1fr)
        320px;
    gap:20px;
    align-items:start;
}

.product-editor-main{
    display:grid;
    gap:18px;
}

.product-editor-side{
    display:grid;
    gap:18px;
    position:sticky;
    top:90px;
}

.product-editor-tools{
    margin-top:20px;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
}

.product-editor-image{
    width:100%;
    max-height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:10px;
}

.product-save{
    width:100%;
    margin-top:18px;
}

.dash-check{
    display:flex;
    align-items:center;
    gap:9px;
    margin:12px 0;
    font-size:13px;
}

.dash-check input{
    width:auto;
}

.dash-muted{
    opacity:.62;
    font-size:12px;
    line-height:1.6;
}

.dash-table-link{
    display:inline-block;
    margin-top:4px;
    font-size:11px;
    text-decoration:none;
}

.dash-back-link{
    display:inline-block;
    margin-bottom:10px;
    text-decoration:none;
    opacity:.7;
}

@media(max-width:1000px){

    .product-editor-layout{
        grid-template-columns:1fr;
    }

    .product-editor-side{
        position:static;
    }

}

@media(max-width:650px){

    .product-editor-tools{
        grid-template-columns:1fr;
    }

}


/* ==========================================================
   ATERION MODULE STORE
========================================================== */

.modules-installed{
    margin-bottom:35px;
}

.module-installed-grid{
    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(300px,1fr)
        );

    gap:13px;
}

.module-installed-card{
    display:grid;

    grid-template-columns:
        auto
        minmax(0,1fr)
        auto;

    align-items:center;

    gap:15px;

    padding:18px;

    border-radius:15px;

    background:#0d121d;

    border:
        1px solid
        rgba(255,255,255,.07);
}

.module-installed-card p{
    margin:4px 0 0;

    color:#718097;

    font-size:11px;
}

.module-icon{
    width:42px;
    height:42px;

    display:grid;

    place-items:center;

    border-radius:12px;

    background:
        linear-gradient(
            135deg,
            rgba(80,113,255,.17),
            rgba(130,83,244,.13)
        );

    font-size:20px;
}

.module-icon.large{
    width:52px;
    height:52px;

    font-size:24px;
}

.module-status{
    display:inline-flex;

    padding:
        6px
        10px;

    border-radius:99px;

    background:
        rgba(255,255,255,.06);

    color:#8695ad;

    font-size:10px;

    font-weight:800;
}

.module-status.active{
    background:
        rgba(44,200,132,.10);

    color:#65dfa9;
}

.module-status.pending{
    background:
        rgba(245,158,11,.10);

    color:#f4b84d;
}

.module-status.warning{
    background:
        rgba(239,118,130,.10);

    color:#f08a95;
}

.module-store-heading{
    display:flex;

    justify-content:
        space-between;

    align-items:flex-end;

    gap:20px;

    margin-bottom:18px;
}

.module-store-heading h2{
    margin:0 0 5px;
}

.module-store-heading p{
    margin:0;

    color:#75849a;
}

.module-store-grid{
    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:15px;
}

.module-card{
    display:flex;

    flex-direction:column;

    min-height:390px;

    padding:23px;

    border-radius:18px;

    background:
        linear-gradient(
            155deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    border:
        1px solid
        rgba(255,255,255,.075);

    transition:
        transform .18s ease,
        border-color .18s ease;
}

.module-card:hover{
    transform:
        translateY(-3px);

    border-color:
        rgba(98,124,255,.35);
}

.module-card-top{
    display:flex;

    justify-content:
        space-between;

    align-items:flex-start;

    gap:12px;
}

.module-category{
    display:inline-flex;

    padding:
        5px
        8px;

    border-radius:7px;

    background:
        rgba(255,255,255,.045);

    color:#68768d;

    font-size:9px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.06em;
}

.module-card h3{
    margin:
        18px
        0
        7px;

    font-size:20px;
}

.module-description{
    min-height:55px;

    margin:0;

    color:#8190a6;

    font-size:12px;

    line-height:1.6;
}

.module-features{
    padding:0;

    margin:
        18px
        0;

    list-style:none;
}

.module-features li{
    display:flex;

    gap:8px;

    margin:
        8px
        0;

    color:#a2aec0;

    font-size:11px;
}

.module-features li span{
    color:#6ce1ae;
}

.module-card-footer{
    display:flex;

    align-items:flex-end;

    justify-content:
        space-between;

    gap:12px;

    margin-top:auto;

    padding-top:20px;

    border-top:
        1px solid
        rgba(255,255,255,.055);
}

.module-price strong{
    display:block;

    font-size:22px;
}

.module-price small{
    display:block;

    margin-top:3px;

    color:#6f7d93;

    font-size:10px;
}

.module-pending-actions{
    display:flex;

    gap:7px;
}

.module-pending-actions form{
    margin:0;
}

@media(max-width:1150px){

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

}

@media(max-width:700px){

    .module-store-grid{
        grid-template-columns:1fr;
    }

    .module-installed-card{
        grid-template-columns:
            auto
            1fr;
    }

    .module-installed-status{
        grid-column:
            1 / -1;
    }

}


/* ==========================================================
   MODULE CONFIGURATION
========================================================== */

.module-config-grid{
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        340px;

    gap:18px;

    align-items:start;
}

.module-quota{
    margin:18px 0;
}

.module-quota-title{
    display:flex;

    justify-content:
        space-between;

    gap:12px;

    margin-bottom:7px;

    font-size:11px;
}

.module-quota-title span{
    color:#8190a6;
}

.module-quota-bar{
    height:7px;

    overflow:hidden;

    border-radius:99px;

    background:
        rgba(255,255,255,.06);
}

.module-quota-bar span{
    display:block;

    height:100%;

    border-radius:inherit;

    background:
        linear-gradient(
            90deg,
            #5574ff,
            #8c5bf0
        );
}

.module-quota small{
    display:block;

    margin-top:5px;

    color:#64728a;

    font-size:9px;
}

@media(max-width:900px){

    .module-config-grid{
        grid-template-columns:1fr;
    }

}

