*{
    box-sizing:border-box;
}

:root{
    --brand-green:#65ff8f;
    --brand-green-strong:#27d861;
    --brand-green-dark:#13913a;
    --brand-green-soft:rgba(101,255,143,.15);

    --text:#101411;
    --muted:#68716b;
    --border:#dfe4e0;
    --surface:#ffffff;
    --background:#f6f8f7;
    --dark:#080b09;
}

html,
body{
    margin:0;
    min-height:100%;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:var(--background);
}

a{
    color:inherit;
}

button,
input{
    font:inherit;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:9px;

    color:#070907;
    text-decoration:none;
    font-size:25px;
    line-height:1;
    font-weight:900;
    letter-spacing:-1.3px;
}

.brand-logo{
    display:block;
    width:38px;
    height:38px;
    object-fit:contain;
    flex:0 0 38px;
}

.brand-text{
    display:inline-block;
    white-space:nowrap;
}

.brand-text > span{
    color:var(--brand-green-strong);
}

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 20px;
    border:1px solid var(--brand-green-strong);
    border-radius:11px;
    background:var(--brand-green);
    color:#07120a;
    text-decoration:none;
    font-size:15px;
    font-weight:900;
    cursor:pointer;
    transition:.18s ease;
}

.button:hover{
    background:#50f47c;
    border-color:#20c956;
    box-shadow:0 9px 24px rgba(39,216,97,.20);
}

.button.secondary{
    background:#fff;
    border-color:#d7ddd9;
}

.button.secondary:hover{
    border-color:var(--brand-green-strong);
    background:var(--brand-green-soft);
    box-shadow:none;
}

.button.small{
    min-height:42px;
    padding:0 17px;
}

.button.full{
    width:100%;
}

/* HOME */

.site-shell{
    min-height:100vh;
}

.site-header{
    height:76px;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid #e7ebe8;
}

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

.site-nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-login{
    text-decoration:none;
    font-size:14px;
    font-weight:800;
}

.nav-login:hover{
    color:var(--brand-green-dark);
}

.language-nav{
    display:flex;
    gap:5px;
    padding-right:8px;
    border-right:1px solid #e2e6e3;
}

.language-nav a,
.lang-switch a{
    padding:6px 8px;
    border-radius:7px;
    color:#6a746d;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
}

.language-nav a:hover,
.language-nav a.active,
.lang-switch a:hover,
.lang-switch a.active{
    color:#0b6d2d;
    background:var(--brand-green-soft);
}

.home-coming-soon{
    min-height:calc(100vh - 76px);
    padding:70px 20px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(rgba(12,22,15,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12,22,15,.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 28%, rgba(101,255,143,.16), transparent 35%),
        #f7f9f8;

    background-size:
        40px 40px,
        40px 40px,
        auto,
        auto;
}

.home-coming-soon-content{
    width:min(820px,100%);
    text-align:center;
}

.eyebrow,
.badge{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background:var(--brand-green-soft);
    border:1px solid rgba(39,216,97,.22);
    color:#0d7d31;
    font-size:13px;
    font-weight:900;
}

.home-coming-soon h1{
    max-width:800px;
    margin:22px auto 16px;
    font-size:clamp(42px,7vw,82px);
    line-height:.96;
    letter-spacing:-4px;
}

.home-coming-soon p{
    max-width:700px;
    margin:0 auto;
    color:var(--muted);
    font-size:18px;
    line-height:1.65;
}

.home-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    margin-top:30px;
}

/* AUTH */

.auth-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 20px;

    background:
        linear-gradient(rgba(12,22,15,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12,22,15,.025) 1px, transparent 1px),
        radial-gradient(circle at 78% 14%, rgba(101,255,143,.20), transparent 34%),
        #f6f8f7;

    background-size:
        42px 42px,
        42px 42px,
        auto,
        auto;
}

.auth-wrap{
    width:100%;
    max-width:520px;
}

.lang-switch{
    display:flex;
    justify-content:flex-end;
    gap:6px;
    margin-bottom:10px;
}

.lang-switch a{
    border:1px solid var(--border);
    background:#fff;
}

.auth-card{
    position:relative;
    overflow:hidden;
    background:#fff;
    border:1px solid #e2e7e3;
    border-radius:18px;
    padding:34px;
    box-shadow:0 24px 65px rgba(14,29,19,.10);
}

.auth-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(
        90deg,
        var(--brand-green-strong),
        var(--brand-green)
    );
}

.auth-brand{
    margin-bottom:28px;
}

.auth-card h1{
    margin:0 0 8px;
    font-size:30px;
    letter-spacing:-.7px;
}

.muted{
    color:var(--muted);
}

.small{
    font-size:13px;
}

.auth-form{
    display:grid;
    gap:17px;
    margin-top:24px;
}

.field{
    display:grid;
    gap:7px;
    color:#252b27;
    font-size:14px;
    font-weight:800;
}

.field input{
    width:100%;
    height:48px;
    padding:0 13px;
    border:1px solid #d3dad5;
    border-radius:10px;
    background:#fff;
    color:#111;
    font-size:16px;
    outline:none;
    transition:.18s ease;
}

.field input:hover{
    border-color:#b8c2bb;
}

.field input:focus{
    border-color:var(--brand-green-strong);
    box-shadow:0 0 0 3px var(--brand-green-soft);
}

.field-label{
    font-size:14px;
    font-weight:800;
    margin-bottom:-8px;
}

.role-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.role-card{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:52px;
    padding:13px 14px;
    border:1px solid #d3dad5;
    border-radius:10px;
    cursor:pointer;
    font-weight:800;
    transition:.18s ease;
}

.role-card:hover{
    border-color:#b8c2bb;
}

.role-card:has(input:checked){
    border-color:var(--brand-green-strong);
    background:var(--brand-green-soft);
}

.role-card input{
    width:16px;
    height:16px;
    accent-color:var(--brand-green-strong);
}

.auth-bottom{
    margin:22px 0 0;
    text-align:center;
    color:var(--muted);
    font-size:14px;
}

.auth-bottom a{
    color:#118a37;
    text-decoration:none;
    font-weight:900;
}

.auth-bottom a:hover{
    text-decoration:underline;
}

.alert{
    margin:18px 0;
    padding:12px 14px;
    border-radius:10px;
    font-size:14px;
}

.alert.error{
    color:#991b1b;
    background:#fef2f2;
    border:1px solid #fecaca;
}

/* DASHBOARD */

.dashboard{
    min-height:100vh;
    display:grid;
    grid-template-columns:250px 1fr;
}

.dashboard-sidebar{
    padding:28px 20px;
    background:#0b0f0c;
    color:#fff;
}

.dashboard-brand{
    color:#fff;
    margin-bottom:30px;
}

.dashboard-nav{
    display:grid;
    gap:7px;
}

.dashboard-nav a{
    display:block;
    padding:12px 13px;
    border-radius:9px;
    color:#bdc8c0;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

.dashboard-nav a:hover,
.dashboard-nav a.active{
    background:rgba(101,255,143,.12);
    color:var(--brand-green);
}

.dashboard-main{
    padding:40px;
}

.page-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:28px;
}

.page-head h1{
    margin:10px 0 0;
    font-size:32px;
    letter-spacing:-1px;
}

.admin-badge{
    color:#842029;
    background:#f8d7da;
    border-color:#f1aeb5;
}

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

.panel{
    display:grid;
    gap:6px;
    padding:24px;
    background:#fff;
    border:1px solid #e2e7e3;
    border-radius:14px;
    box-shadow:0 8px 28px rgba(14,29,19,.04);
}

.panel strong{
    font-size:32px;
}

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

/* RESPONSIVE */

@media(max-width:760px){

    .site-header{
        height:auto;
    }

    .site-header-inner{
        width:calc(100% - 28px);
        min-height:72px;
        flex-wrap:wrap;
        padding:14px 0;
    }

    .site-nav{
        gap:10px;
    }

    .language-nav{
        display:none;
    }

    .home-coming-soon{
        min-height:calc(100vh - 72px);
        padding:55px 18px;
    }

    .home-coming-soon h1{
        letter-spacing:-2.2px;
    }

    .home-actions{
        flex-direction:column;
    }

    .home-actions .button{
        width:100%;
        max-width:340px;
    }

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

    .dashboard-sidebar{
        padding:18px;
    }

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

    .dashboard-main{
        padding:24px 18px;
    }

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

    .page-head{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:560px){

    .auth-page{
        align-items:flex-start;
        padding:18px 12px;
    }

    .auth-card{
        padding:25px 19px;
        border-radius:14px;
    }

    .auth-card h1{
        font-size:26px;
    }

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


/* Aeroto logo placement */
.auth-brand{
    align-items:center;
}

.dashboard-brand{
    align-items:center;
}

.dashboard-brand .brand-text{
    color:#fff;
}

@media(max-width:560px){
    .brand-logo{
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .brand{
        font-size:22px;
        gap:8px;
    }
}


/*
|--------------------------------------------------------------------------
| Prisiminti mane
|--------------------------------------------------------------------------
*/

.remember-row{
    display:flex;
    align-items:center;
    gap:9px;
    width:max-content;
    max-width:100%;
    color:#3f4742;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    user-select:none;
}

.remember-row input[type="checkbox"]{
    appearance:none;
    -webkit-appearance:none;

    width:18px;
    height:18px;
    margin:0;

    display:grid;
    place-content:center;

    border:1px solid #cbd3cd;
    border-radius:5px;
    background:#fff;

    cursor:pointer;
    transition:.16s ease;
}

.remember-row input[type="checkbox"]::before{
    content:"";

    width:9px;
    height:5px;

    border-left:2px solid #07120a;
    border-bottom:2px solid #07120a;

    transform:rotate(-45deg) scale(0);
    transform-origin:center;
    transition:transform .12s ease;
}

.remember-row input[type="checkbox"]:hover{
    border-color:var(--brand-green-strong);
}

.remember-row input[type="checkbox"]:focus-visible{
    outline:none;
    box-shadow:0 0 0 3px var(--brand-green-soft);
    border-color:var(--brand-green-strong);
}

.remember-row input[type="checkbox"]:checked{
    background:var(--brand-green);
    border-color:var(--brand-green-strong);
}

.remember-row input[type="checkbox"]:checked::before{
    transform:rotate(-45deg) scale(1);
}
