/* =========================================================
   FUEL SECURITY ADMIN
   PREMIUM ADMIN FOUNDATION
========================================================= */

:root {
    --admin-black: #050505;
    --admin-black-soft: #0b0b0b;
    --admin-panel: #111111;
    --admin-border: rgba(255, 255, 255, 0.09);
    --admin-text: #f5f5f5;
    --admin-muted: #929292;
    --admin-gold: #ffd700;
    --admin-green: #1e5a3a;
    --admin-danger: #d9534f;
    --admin-white: #ffffff;

    --admin-font: "Inter", sans-serif;
    --admin-display: "Manrope", sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: var(--admin-font);
    background: var(--admin-black);
    color: var(--admin-text);
    min-height: 100vh;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   LOGIN
========================================================= */

.login-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}


.login-brand-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, .9),
            rgba(8, 27, 18, .75)
        ),
        url("../images/service.png")
        center / cover no-repeat;
}


.login-brand-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .82),
            rgba(0, 0, 0, .25)
        );
}


.login-brand-content {
    position: relative;
    z-index: 2;

    min-height: 100vh;
    padding: 55px 8%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
}


.login-brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}


.login-brand div {
    display: flex;
    flex-direction: column;
}


.login-brand strong {
    font-family: var(--admin-display);
    font-size: 17px;
    letter-spacing: .12em;
}


.login-brand span {
    color: var(--admin-gold);
    font-size: 10px;
    letter-spacing: .28em;
    margin-top: 3px;
}


.login-brand-message {
    max-width: 620px;
}


.login-brand-message > span {
    display: inline-block;
    color: var(--admin-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
    margin-bottom: 22px;
}


.login-brand-message h1 {
    font-family: var(--admin-display);
    font-size: clamp(48px, 5vw, 82px);
    line-height: .95;
    letter-spacing: -.045em;
    font-weight: 800;
}


.login-brand-message h1 strong {
    display: block;
    color: var(--admin-gold);
}


.login-brand-message p {
    max-width: 500px;
    color: rgba(255,255,255,.68);
    line-height: 1.8;
    margin-top: 28px;
    font-size: 15px;
}


.login-brand-footer {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;

    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}


.login-brand-footer i {
    color: var(--admin-gold);
    margin-right: 7px;
}


/* =========================================================
   LOGIN PANEL
========================================================= */

.login-panel {
    background: #f5f5f2;
    color: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
}


.login-container {
    width: min(100%, 440px);
}


.login-mobile-brand {
    display: none;
}


.login-kicker {
    display: block;
    color: #8b7500;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
    margin-bottom: 15px;
}


.login-header h2 {
    font-family: var(--admin-display);
    font-size: 42px;
    line-height: 1;
    letter-spacing: -.04em;
}


.login-header p {
    color: #777;
    margin-top: 12px;
    line-height: 1.7;
}


.login-form {
    margin-top: 35px;
}


.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}


.input-wrapper {
    position: relative;
}


.input-wrapper > i:first-child {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}


.input-wrapper input {
    width: 100%;
    height: 58px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;

    padding:
        0 48px
        0 46px;

    outline: none;

    color: #111;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.input-wrapper input:focus {
    border-color: #b79d00;

    box-shadow:
        0 0 0 4px rgba(255, 215, 0, .12);
}


.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #888;

    width: 30px;
    height: 30px;
}


.login-submit {
    width: 100%;
    height: 58px;

    border: 0;
    border-radius: 8px;

    background: #080808;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease;
}


.login-submit:hover {
    background: var(--admin-green);
    transform: translateY(-2px);
}


.login-submit i {
    color: var(--admin-gold);
}


.login-error {
    display: flex;
    align-items: center;
    gap: 10px;

    background: rgba(217, 83, 79, .08);
    border: 1px solid rgba(217, 83, 79, .2);

    color: #a33d3a;

    padding: 13px 15px;
    border-radius: 7px;

    margin-top: 25px;

    font-size: 12px;
    line-height: 1.5;
}


.login-security-note {
    margin-top: 25px;

    display: flex;
    gap: 10px;

    color: #888;

    font-size: 11px;
    line-height: 1.5;
}


.login-security-note i {
    color: var(--admin-green);
    margin-top: 2px;
}


.back-to-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 28px;

    color: #777;
    font-size: 12px;
    font-weight: 600;

    transition: color .2s ease;
}


.back-to-website:hover {
    color: #111;
}


/* =========================================================
   DASHBOARD
========================================================= */

.admin-topbar {
    min-height: 78px;

    padding:
        0 45px;

    border-bottom:
        1px solid var(--admin-border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        rgba(5, 5, 5, .96);

    position: sticky;
    top: 0;
    z-index: 100;
}


.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.admin-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


.admin-logo div {
    display: flex;
    flex-direction: column;
}


.admin-logo strong {
    font-size: 13px;
    letter-spacing: .12em;
}


.admin-logo span {
    color: var(--admin-gold);
    font-size: 8px;
    letter-spacing: .22em;
    margin-top: 3px;
}


.admin-user {
    display: flex;
    align-items: center;
    gap: 25px;
}


.admin-user-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}


.admin-user-info strong {
    font-size: 12px;
}


.admin-user-info span {
    color: var(--admin-muted);
    font-size: 10px;
    margin-top: 3px;
}


.admin-logout {
    display: flex;
    align-items: center;
    gap: 8px;

    border:
        1px solid var(--admin-border);

    padding: 10px 14px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease;
}


.admin-logout:hover {
    background: #fff;
    color: #000;
}


.admin-main {
    padding:
        55px 45px 80px;
}


.admin-page-heading span {
    color: var(--admin-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
}


.admin-page-heading h1 {
    font-family: var(--admin-display);
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -.04em;
    margin-top: 10px;
}


.admin-page-heading p {
    color: var(--admin-muted);
    margin-top: 10px;
    font-size: 14px;
}


.dashboard-cards {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-top: 45px;
}


.dashboard-card {
    min-height: 145px;

    background:
        linear-gradient(
            145deg,
            #111,
            #0b0b0b
        );

    border:
        1px solid var(--admin-border);

    border-radius: 10px;

    padding: 24px;

    display: flex;
    align-items: center;
    gap: 18px;
}


.dashboard-card-icon {
    width: 48px;
    height: 48px;

    border-radius: 8px;

    display: grid;
    place-items: center;

    background:
        rgba(255, 215, 0, .08);

    color: var(--admin-gold);

    border:
        1px solid rgba(255, 215, 0, .15);
}


.dashboard-card div:last-child {
    display: flex;
    flex-direction: column;
}


.dashboard-card span {
    color: var(--admin-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}


.dashboard-card strong {
    font-family: var(--admin-display);
    font-size: 31px;
    margin-top: 6px;
}


.dashboard-welcome {
    margin-top: 18px;

    border:
        1px solid var(--admin-border);

    background:
        linear-gradient(
            120deg,
            #101713,
            #0c0c0c
        );

    border-radius: 10px;

    padding: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.dashboard-welcome > div > span {
    color: var(--admin-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}


.dashboard-welcome h2 {
    font-family: var(--admin-display);
    font-size: 30px;
    margin-top: 8px;
}


.dashboard-welcome p {
    max-width: 650px;
    color: var(--admin-muted);
    line-height: 1.7;
    font-size: 13px;
    margin-top: 9px;
}


.admin-primary-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--admin-gold);
    color: #080808;

    padding: 15px 20px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}


.admin-primary-button:hover {
    transform: translateY(-2px);
    background: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .login-wrapper {
        grid-template-columns: 1fr;
    }


    .login-brand-panel {
        display: none;
    }


    .login-panel {
        min-height: 100vh;
    }


    .login-mobile-brand {
        display: flex;
        align-items: center;
        gap: 12px;

        margin-bottom: 50px;
    }


    .login-mobile-brand img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }


    .login-mobile-brand div {
        display: flex;
        flex-direction: column;
    }


    .login-mobile-brand strong {
        font-size: 14px;
        letter-spacing: .1em;
    }


    .login-mobile-brand span {
        color: #8b7500;
        font-size: 8px;
        letter-spacing: .2em;
        margin-top: 3px;
    }


    .dashboard-cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .login-panel {
        padding: 30px 20px;
    }


    .login-header h2 {
        font-size: 36px;
    }


    .admin-topbar {
        padding: 15px 18px;
    }


    .admin-user-info {
        display: none;
    }


    .admin-main {
        padding:
            35px 18px 60px;
    }


    .dashboard-cards {
        grid-template-columns: 1fr;
    }


    .dashboard-welcome {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }


    .admin-primary-button {
        width: 100%;
        justify-content: center;
    }

}
/* =========================================================
   FUEL SECURITY ADMIN DASHBOARD
   SIDEBAR DASHBOARD SYSTEM
   Add this CSS at the END of admin.css
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --admin-sidebar-width: 270px;

    --admin-black: #080b0a;
    --admin-black-soft: #101513;

    --admin-green: #1e5a3a;
    --admin-green-dark: #123b27;
    --admin-green-light: #2d7650;

    --admin-yellow: #ffd700;
    --admin-yellow-soft: #fff4a8;

    --admin-white: #ffffff;
    --admin-text: #17201c;
    --admin-muted: #718078;

    --admin-border: #e6ebe8;
    --admin-bg: #f5f7f6;
    --admin-card: #ffffff;

    --admin-shadow:
        0 15px 40px rgba(10, 25, 18, 0.07);

    --admin-shadow-heavy:
        0 25px 60px rgba(0, 0, 0, 0.18);

    --admin-radius: 16px;

    --admin-transition:
        0.3s cubic-bezier(.4, 0, .2, 1);

}


/* =========================================================
   RESET / BASE
========================================================= */

.admin-dashboard-page {

    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: var(--admin-bg);

    color: var(--admin-text);

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

}

.admin-dashboard-page *,
.admin-dashboard-page *::before,
.admin-dashboard-page *::after {

    box-sizing: border-box;

}

.admin-dashboard-page a {

    text-decoration: none;

}

.admin-dashboard-page button {

    font-family: inherit;

}


/* =========================================================
   SIDEBAR OVERLAY
========================================================= */

.admin-sidebar-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.55);

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 998;

    transition:
        opacity var(--admin-transition),
        visibility var(--admin-transition);

}

.admin-sidebar-overlay.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* =========================================================
   SIDEBAR
========================================================= */

.admin-sidebar {

    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: var(--admin-sidebar-width);

    background:
        linear-gradient(
            180deg,
            #080b0a 0%,
            #0d1511 48%,
            #101a15 100%
        );

    color: #ffffff;

    z-index: 999;

    display: flex;

    flex-direction: column;

    border-right:
        1px solid rgba(255,255,255,0.06);

    box-shadow:
        15px 0 45px rgba(0,0,0,0.08);

    overflow: hidden;

}


/* subtle sidebar glow */

.admin-sidebar::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -100px;
    right: -100px;

    background:
        radial-gradient(
            circle,
            rgba(255,215,0,0.12),
            transparent 70%
        );

    pointer-events: none;

}


/* =========================================================
   SIDEBAR BRAND
========================================================= */

.admin-sidebar-brand {

    position: relative;

    min-height: 92px;

    padding:
        22px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid rgba(255,255,255,0.07);

}


.admin-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #ffffff;

    min-width: 0;

}


.admin-logo-image {

    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,215,0,0.25);

    border-radius: 11px;

    overflow: hidden;

}


.admin-logo-image img {

    width: 100%;
    height: 100%;

    object-fit: contain;

}


.admin-logo-text {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;

}


.admin-logo-text strong {

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.08em;

    white-space: nowrap;

}


.admin-logo-text span {

    color: var(--admin-yellow);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.16em;

}


/* =========================================================
   SIDEBAR CLOSE
========================================================= */

.sidebar-close {

    display: none;

    width: 36px;
    height: 36px;

    border: 1px solid
        rgba(255,255,255,0.1);

    background:
        rgba(255,255,255,0.05);

    color: #ffffff;

    border-radius: 9px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    transition:
        background var(--admin-transition),
        color var(--admin-transition);

}

.sidebar-close:hover {

    background:
        var(--admin-yellow);

    color:
        var(--admin-black);

}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.admin-sidebar-nav {

    flex: 1;

    padding:
        24px 14px;

    overflow-y: auto;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(255,255,255,0.15)
        transparent;

}


.admin-sidebar-nav::-webkit-scrollbar {

    width: 4px;

}

.admin-sidebar-nav::-webkit-scrollbar-thumb {

    background:
        rgba(255,255,255,0.15);

    border-radius: 20px;

}


/* =========================================================
   SIDEBAR SECTION TITLE
========================================================= */

.sidebar-section-title {

    padding:
        0 12px;

    margin:
        18px 0 9px;

    color:
        rgba(255,255,255,0.38);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.18em;

}

.sidebar-section-title:first-child {

    margin-top: 0;

}


/* =========================================================
   SIDEBAR LINKS
========================================================= */

.sidebar-link {

    position: relative;

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        10px 12px;

    margin:
        3px 0;

    color:
        rgba(255,255,255,0.66);

    border-radius: 11px;

    font-size: 13px;

    font-weight: 600;

    transition:
        color var(--admin-transition),
        background var(--admin-transition),
        transform var(--admin-transition);

}


.sidebar-link:hover {

    color: #ffffff;

    background:
        rgba(255,255,255,0.055);

    transform:
        translateX(3px);

}


.sidebar-link.active {

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(30,90,58,0.95),
            rgba(30,90,58,0.55)
        );

    box-shadow:
        inset 3px 0 0 var(--admin-yellow),
        0 8px 25px rgba(0,0,0,0.12);

}


.sidebar-link.active::after {

    content: "";

    position: absolute;

    right: 11px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--admin-yellow);

    box-shadow:
        0 0 10px rgba(255,215,0,0.7);

}


/* =========================================================
   SIDEBAR ICON
========================================================= */

.sidebar-link-icon {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(255,255,255,0.045);

    color:
        rgba(255,255,255,0.6);

    transition:
        background var(--admin-transition),
        color var(--admin-transition);

}


.sidebar-link:hover .sidebar-link-icon {

    color:
        var(--admin-yellow);

    background:
        rgba(255,215,0,0.08);

}


.sidebar-link.active .sidebar-link-icon {

    color:
        var(--admin-yellow);

    background:
        rgba(255,215,0,0.1);

}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.admin-sidebar-bottom {

    padding:
        15px;

    border-top:
        1px solid rgba(255,255,255,0.07);

    background:
        rgba(0,0,0,0.12);

}


/* =========================================================
   SIDEBAR USER
========================================================= */

.sidebar-user {

    display: flex;

    align-items: center;

    gap: 11px;

    padding:
        11px;

    margin-bottom: 8px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.05);

}


.sidebar-user-avatar {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--admin-yellow);

    background:
        rgba(255,215,0,0.08);

    border:
        1px solid rgba(255,215,0,0.16);

}


.sidebar-user-info {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.sidebar-user-info strong {

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.sidebar-user-info span {

    color:
        rgba(255,255,255,0.42);

    font-size: 9px;

    font-weight: 600;

}


/* =========================================================
   LOGOUT
========================================================= */

.sidebar-logout {

    display: flex;

    align-items: center;

    gap: 11px;

    width: 100%;

    padding:
        11px 12px;

    border-radius: 10px;

    color:
        rgba(255,255,255,0.52);

    font-size: 12px;

    font-weight: 600;

    transition:
        color var(--admin-transition),
        background var(--admin-transition);

}


.sidebar-logout i {

    width: 22px;

}


.sidebar-logout:hover {

    color:
        #ff6b6b;

    background:
        rgba(255,80,80,0.07);

}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.admin-layout {

    min-height: 100vh;

    margin-left:
        var(--admin-sidebar-width);

    display: flex;

    flex-direction: column;

}


/* =========================================================
   TOPBAR
========================================================= */

.admin-topbar {

    position: sticky;

    top: 0;

    z-index: 900;

    min-height: 76px;

    padding:
        0 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(255,255,255,0.94);

    border-bottom:
        1px solid var(--admin-border);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

}


/* =========================================================
   TOPBAR LEFT
========================================================= */

.admin-topbar-left {

    display: flex;

    align-items: center;

    gap: 18px;

}


.sidebar-menu-toggle {

    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--admin-border);

    background: #ffffff;

    color:
        var(--admin-text);

    border-radius: 10px;

    cursor: pointer;

    font-size: 16px;

}


.admin-breadcrumb {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;

}


.admin-breadcrumb span {

    color:
        var(--admin-muted);

}


.admin-breadcrumb i {

    font-size: 8px;

    color:
        #a9b1ad;

}


.admin-breadcrumb strong {

    color:
        var(--admin-text);

    font-weight: 700;

}


/* =========================================================
   TOPBAR RIGHT
========================================================= */

.admin-topbar-right {

    display: flex;

    align-items: center;

    gap: 24px;

}


/* =========================================================
   VIEW WEBSITE
========================================================= */

.view-website {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        9px 13px;

    color:
        var(--admin-green);

    border:
        1px solid rgba(30,90,58,0.16);

    border-radius: 9px;

    background:
        rgba(30,90,58,0.035);

    font-size: 11px;

    font-weight: 700;

    transition:
        all var(--admin-transition);

}


.view-website:hover {

    color:
        #ffffff;

    background:
        var(--admin-green);

    border-color:
        var(--admin-green);

}


/* =========================================================
   TOPBAR USER
========================================================= */

.topbar-user {

    display: flex;

    align-items: center;

    gap: 10px;

    padding-left: 20px;

    border-left:
        1px solid var(--admin-border);

}


.topbar-user-avatar {

    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--admin-green);

    background:
        rgba(30,90,58,0.08);

    border:
        1px solid rgba(30,90,58,0.12);

}


.topbar-user-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.topbar-user-info strong {

    color:
        var(--admin-text);

    font-size: 11px;

    font-weight: 700;

}


.topbar-user-info span {

    color:
        var(--admin-muted);

    font-size: 9px;

    font-weight: 500;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.admin-main {

    width: 100%;

    max-width: 1500px;

    margin: 0 auto;

    padding:
        42px 42px 60px;

    flex: 1;

}


/* =========================================================
   PAGE HEADING
========================================================= */

.admin-page-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;

}


.admin-eyebrow {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color:
        var(--admin-green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.16em;

}


.admin-eyebrow span {

    width: 24px;
    height: 2px;

    background:
        var(--admin-yellow);

}


.admin-page-heading h1 {

    margin: 0 0 7px;

    color:
        var(--admin-text);

    font-size:
        clamp(30px, 4vw, 45px);

    line-height: 1.05;

    letter-spacing: -0.045em;

    font-weight: 800;

}


.admin-page-heading p {

    margin: 0;

    max-width: 600px;

    color:
        var(--admin-muted);

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   BUTTONS
========================================================= */

.admin-primary-button,
.admin-secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 45px;

    padding:
        0 18px;

    border-radius: 10px;

    font-size: 11px;

    font-weight: 800;

    transition:
        transform var(--admin-transition),
        box-shadow var(--admin-transition),
        background var(--admin-transition);

}


.admin-primary-button {

    color:
        var(--admin-black);

    background:
        var(--admin-yellow);

    box-shadow:
        0 8px 22px rgba(255,215,0,0.17);

}


.admin-primary-button:hover {

    transform:
        translateY(-2px);

    background:
        #ffe34d;

    box-shadow:
        0 13px 30px rgba(255,215,0,0.25);

}


.admin-secondary-button {

    color:
        var(--admin-green);

    background:
        #ffffff;

    border:
        1px solid var(--admin-border);

}


.admin-secondary-button:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(30,90,58,0.25);

    box-shadow:
        var(--admin-shadow);

}


/* =========================================================
   DASHBOARD CARDS
========================================================= */

.dashboard-cards {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 24px;

}


.dashboard-card {

    position: relative;

    min-height: 145px;

    padding: 22px;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    background:
        var(--admin-card);

    border:
        1px solid var(--admin-border);

    border-radius:
        var(--admin-radius);

    box-shadow:
        var(--admin-shadow);

    overflow: hidden;

    transition:
        transform var(--admin-transition),
        box-shadow var(--admin-transition),
        border-color var(--admin-transition);

}


.dashboard-card::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -55px;
    bottom: -55px;

    border-radius: 50%;

    background:
        rgba(30,90,58,0.04);

}


.dashboard-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(30,90,58,0.18);

    box-shadow:
        0 20px 45px rgba(10,25,18,0.10);

}


/* =========================================================
   CARD ICON
========================================================= */

.dashboard-card-icon {

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color:
        var(--admin-green);

    background:
        rgba(30,90,58,0.075);

    font-size: 18px;

}


.dashboard-card:nth-child(2)
.dashboard-card-icon {

    color:
        #8a6800;

    background:
        rgba(255,215,0,0.13);

}


.dashboard-card:nth-child(3)
.dashboard-card-icon {

    color:
        #256b94;

    background:
        rgba(55,150,210,0.09);

}


.dashboard-card:nth-child(4)
.dashboard-card-icon {

    color:
        var(--admin-green);

    background:
        rgba(30,90,58,0.075);

}


/* =========================================================
   CARD CONTENT
========================================================= */

.dashboard-card-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.dashboard-card-content > span {

    margin-bottom: 7px;

    color:
        var(--admin-muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.11em;

}


.dashboard-card-content strong {

    color:
        var(--admin-text);

    font-size: 28px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.03em;

}


.dashboard-card-content small {

    margin-top: 7px;

    color:
        #9aa49f;

    font-size: 10px;

}


.dashboard-card-content .status-live {

    color:
        var(--admin-green);

    font-size: 20px;

    letter-spacing: 0.03em;

}


/* =========================================================
   WELCOME PANEL
========================================================= */

.dashboard-welcome {

    position: relative;

    min-height: 190px;

    padding:
        30px 32px;

    margin-bottom: 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-radius:
        18px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #0b1510 0%,
            #153a27 55%,
            #1e5a3a 100%
        );

    color: #ffffff;

    box-shadow:
        0 20px 50px rgba(10,35,22,0.16);

}


.dashboard-welcome::before {

    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    border:
        1px solid rgba(255,215,0,0.15);

    box-shadow:
        0 0 0 50px rgba(255,215,0,0.025),
        0 0 0 100px rgba(255,215,0,0.02);

}


.dashboard-welcome::after {

    content: "";

    position: absolute;

    width: 3px;

    left: 0;
    top: 28px;
    bottom: 28px;

    background:
        var(--admin-yellow);

}


.welcome-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;

    gap: 18px;

}


.welcome-icon {

    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color:
        var(--admin-yellow);

    background:
        rgba(255,215,0,0.08);

    border:
        1px solid rgba(255,215,0,0.18);

    font-size: 18px;

}


.welcome-kicker {

    display: block;

    margin-bottom: 7px;

    color:
        var(--admin-yellow);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.16em;

}


.welcome-content h2 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 25px;

    line-height: 1.15;

    letter-spacing: -0.025em;

}


.welcome-content p {

    max-width: 680px;

    margin: 0;

    color:
        rgba(255,255,255,0.64);

    font-size: 12px;

    line-height: 1.75;

}


.welcome-actions {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}


.welcome-actions .admin-secondary-button {

    color: #ffffff;

    background:
        rgba(255,255,255,0.07);

    border-color:
        rgba(255,255,255,0.13);

}


.welcome-actions .admin-secondary-button:hover {

    background:
        rgba(255,255,255,0.13);

}


/* =========================================================
   DASHBOARD SECTION
========================================================= */

.dashboard-section {

    background:
        #ffffff;

    border:
        1px solid var(--admin-border);

    border-radius:
        var(--admin-radius);

    box-shadow:
        var(--admin-shadow);

    overflow: hidden;

}


.dashboard-section-heading {

    min-height: 88px;

    padding:
        20px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid var(--admin-border);

}


.dashboard-section-heading > div > span {

    display: block;

    margin-bottom: 5px;

    color:
        var(--admin-green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


.dashboard-section-heading h2 {

    margin: 0;

    color:
        var(--admin-text);

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.025em;

}


.dashboard-section-heading > a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        var(--admin-green);

    font-size: 11px;

    font-weight: 700;

    transition:
        gap var(--admin-transition);

}


.dashboard-section-heading > a:hover {

    gap: 11px;

}


.dashboard-section-heading > a i {

    font-size: 9px;

}


/* =========================================================
   EMPTY GALLERY
========================================================= */

.dashboard-recent-media {

    display: flex;

    flex-direction: column;

}


.dashboard-media-row {

    display: grid;

    grid-template-columns: 58px minmax(0, 1fr) auto 18px;

    align-items: center;

    gap: 15px;

    min-height: 82px;

    padding: 12px 25px;

    border-bottom: 1px solid var(--admin-border);

    text-decoration: none;

    transition: background var(--admin-transition);

}


.dashboard-media-row:last-child {

    border-bottom: 0;

}


.dashboard-media-row:hover {

    background: #f8faf9;

}


.dashboard-media-thumb {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 10px;

    background: #0b1727;

    color: var(--admin-yellow);

}


.dashboard-media-thumb img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.dashboard-media-info,
.dashboard-media-meta {

    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;

}


.dashboard-media-info strong {

    overflow: hidden;

    color: var(--admin-text);

    font-size: 13px;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.dashboard-media-info small,
.dashboard-media-meta small {

    color: var(--admin-muted);

    font-size: 10px;

}


.dashboard-media-meta {

    align-items: flex-end;

}


.dashboard-media-meta b {

    font-size: 9px;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.dashboard-media-meta b.published {

    color: var(--admin-green);

}


.dashboard-media-meta b.draft {

    color: #9a7700;

}


.dashboard-media-arrow {

    color: var(--admin-muted);

    font-size: 10px;

}

.empty-gallery-state {

    min-height: 300px;

    padding: 45px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.empty-gallery-icon {

    width: 68px;
    height: 68px;

    margin-bottom: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    color:
        var(--admin-green);

    background:
        rgba(30,90,58,0.06);

    border:
        1px solid rgba(30,90,58,0.09);

    font-size: 25px;

}


.empty-gallery-state h3 {

    margin: 0 0 8px;

    color:
        var(--admin-text);

    font-size: 17px;

    font-weight: 800;

}


.empty-gallery-state p {

    max-width: 480px;

    margin: 0 0 20px;

    color:
        var(--admin-muted);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   FOOTER
========================================================= */

.admin-footer {

    min-height: 65px;

    padding:
        0 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid var(--admin-border);

    color:
        #8a9490;

    background:
        #ffffff;

    font-size: 10px;

}


.admin-footer span:last-child {

    color:
        var(--admin-green);

    font-weight: 700;

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 1100px) {

    :root {

        --admin-sidebar-width: 245px;

    }


    .admin-main {

        padding:
            35px 28px 50px;

    }


    .admin-topbar {

        padding:
            0 28px;

    }


    .dashboard-cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   MOBILE SIDEBAR
========================================================= */

@media (max-width: 900px) {

    .dashboard-media-row {

        grid-template-columns: 48px minmax(0, 1fr) 14px;

        gap: 11px;

        padding-inline: 16px;

    }

    .dashboard-media-thumb {

        width: 48px;
        height: 48px;

    }

    .dashboard-media-meta {

        display: none;

    }

    .admin-sidebar {

        transform:
            translateX(-100%);

        transition:
            transform var(--admin-transition);

        box-shadow:
            20px 0 60px rgba(0,0,0,0.25);

    }


    .admin-sidebar.open {

        transform:
            translateX(0);

    }


    .admin-layout {

        margin-left: 0;

    }


    .sidebar-close {

        display: flex;

    }


    .sidebar-menu-toggle {

        display: flex;

        align-items: center;
        justify-content: center;

    }


    .admin-topbar {

        min-height: 68px;

    }


    .admin-topbar-right {

        gap: 10px;

    }


    .topbar-user {

        padding-left: 10px;

    }


    .topbar-user-info {

        display: none;

    }


    .view-website span {

        display: none;

    }


    .view-website {

        width: 40px;
        height: 40px;

        padding: 0;

        justify-content: center;

    }

}


/* =========================================================
   SMALL TABLET / MOBILE
========================================================= */

@media (max-width: 700px) {

    .admin-main {

        padding:
            28px 18px 40px;

    }


    .admin-topbar {

        padding:
            0 18px;

    }


    .admin-page-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }


    .admin-page-heading .admin-primary-button {

        width: 100%;

    }


    .dashboard-cards {

        grid-template-columns:
            1fr;

        gap: 12px;

    }


    .dashboard-card {

        min-height: 120px;

    }


    .dashboard-welcome {

        padding:
            26px 23px;

        align-items: flex-start;

        flex-direction: column;

    }


    .welcome-content {

        flex-direction: column;

    }


    .welcome-actions {

        width: 100%;

        flex-direction: column;

    }


    .welcome-actions > * {

        width: 100%;

    }


    .dashboard-section-heading {

        align-items: flex-start;

        flex-direction: column;

        padding:
            20px;

    }


    .admin-footer {

        padding:
            18px;

        flex-direction: column;

        justify-content: center;

        text-align: center;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .admin-sidebar {

        width: min(
            290px,
            88vw
        );

    }


    .admin-topbar {

        min-height: 64px;

    }


    .admin-breadcrumb span,
    .admin-breadcrumb i {

        display: none;

    }


    .admin-breadcrumb strong {

        font-size: 11px;

    }


    .admin-page-heading h1 {

        font-size: 32px;

    }


    .admin-page-heading p {

        font-size: 12px;

    }


    .dashboard-card {

        padding: 18px;

    }


    .dashboard-card-icon {

        width: 43px;
        height: 43px;

        flex-basis: 43px;

    }


    .dashboard-card-content strong {

        font-size: 25px;

    }


    .welcome-content h2 {

        font-size: 21px;

    }


    .welcome-content p {

        font-size: 11px;

    }


    .empty-gallery-state {

        padding:
            40px 20px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.sidebar-link:focus-visible,
.sidebar-logout:focus-visible,
.admin-primary-button:focus-visible,
.admin-secondary-button:focus-visible,
.view-website:focus-visible,
.sidebar-menu-toggle:focus-visible,
.sidebar-close:focus-visible {

    outline:
        3px solid rgba(255,215,0,0.45);

    outline-offset:
        3px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .admin-dashboard-page *,
    .admin-dashboard-page *::before,
    .admin-dashboard-page *::after {

        transition: none !important;

        animation: none !important;

        scroll-behavior: auto !important;

    }

}
/* =========================================================
   SETTINGS PAGE
========================================================= */

.settings-grid {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr);
    gap: 28px;
    align-items: stretch;
}


/* =========================================================
   SETTINGS INTRO
========================================================= */

.settings-intro {
    position: relative;
    overflow: hidden;
    padding: 38px;
    min-height: 500px;
    border: 1px solid rgba(3, 27, 78, .08);
    background:
        linear-gradient(
            145deg,
            #031b4e 0%,
            #061f55 55%,
            #071936 100%
        );
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(3, 27, 78, .14);
}

.settings-intro::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -100px;
    border: 1px solid rgba(255, 215, 0, .20);
    border-radius: 50%;
}

.settings-intro::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -190px;
    top: -150px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}


.settings-intro-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 35px;
    border-radius: 16px;
    background: rgba(255, 215, 0, .12);
    border: 1px solid rgba(255, 215, 0, .25);
    color: #ffd700;
    font-size: 25px;
}


.settings-intro > span {
    display: block;
    margin-bottom: 12px;
    color: #ffd700;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}


.settings-intro h2 {
    max-width: 390px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -.035em;
}


.settings-intro > p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.security-note {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .055);
}


.security-note > i {
    margin-top: 3px;
    color: #ffd700;
    font-size: 18px;
}


.security-note strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
}


.security-note span {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   SETTINGS CARD
========================================================= */

.settings-card {
    padding: 34px;
    background: #fff;
    border: 1px solid rgba(3, 27, 78, .08);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(3, 27, 78, .07);
}


.settings-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #edf0f5;
}


.settings-card-header > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: #7d8798;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}


.settings-card-header h2 {
    margin: 0;
    color: #031b4e;
    font-size: 25px;
    letter-spacing: -.025em;
}


.settings-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: rgba(255, 215, 0, .12);
    color: #9a7900;
    font-size: 18px;
}


/* =========================================================
   ALERTS
========================================================= */

.settings-alert {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.5;
}


.settings-alert.success {
    background: #edf9f1;
    border: 1px solid #ccebd6;
    color: #20713a;
}


.settings-alert.error {
    background: #fff1f1;
    border: 1px solid #f2d1d1;
    color: #a52c2c;
}


.settings-alert i {
    font-size: 16px;
}


/* =========================================================
   FORM
========================================================= */

.password-form {
    width: 100%;
}


.form-group {
    margin-bottom: 21px;
}


.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #27344d;
    font-size: 12px;
    font-weight: 750;
}


.password-input {
    position: relative;
}


.password-input > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8791a3;
    font-size: 14px;
    pointer-events: none;
}


.password-input input {
    width: 100%;
    height: 52px;
    padding: 0 50px 0 45px;
    border: 1px solid #dce1e9;
    border-radius: 10px;
    outline: none;
    background: #fafbfd;
    color: #17233b;
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.password-input input::placeholder {
    color: #a3aab6;
}


.password-input input:focus {
    background: #fff;
    border-color: #031b4e;
    box-shadow: 0 0 0 4px rgba(3, 27, 78, .07);
}


.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7d8798;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease;
}


.password-toggle:hover {
    background: #f0f3f7;
    color: #031b4e;
}


/* =========================================================
   PASSWORD REQUIREMENTS
========================================================= */

.password-requirements {
    margin-top: 25px;
    padding: 18px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e8ecf2;
}


.password-requirements strong {
    display: block;
    margin-bottom: 12px;
    color: #27344d;
    font-size: 12px;
}


.password-requirements > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 15px;
}


.password-requirements span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #788397;
    font-size: 11px;
}


.password-requirements i {
    color: #1e8a4a;
    font-size: 9px;
}


/* =========================================================
   FORM ACTIONS
========================================================= */

.settings-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf0f5;
}


/* =========================================================
   BUTTON COMPATIBILITY
========================================================= */

.settings-form-actions .admin-primary-button,
.settings-form-actions .admin-secondary-button {
    min-height: 46px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-intro {
        min-height: auto;
    }

}


@media (max-width: 700px) {

    .settings-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .settings-intro {
        padding: 28px 23px;
        border-radius: 16px;
    }

    .settings-intro h2 {
        font-size: 31px;
    }

    .settings-card-header h2 {
        font-size: 22px;
    }

    .password-requirements > div {
        grid-template-columns: 1fr;
    }

    .settings-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .settings-form-actions .admin-primary-button,
    .settings-form-actions .admin-secondary-button {
        width: 100%;
        justify-content: center;
    }

}


@media (max-width: 480px) {

    .settings-intro-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 27px;
    }

    .settings-intro h2 {
        font-size: 27px;
    }

    .settings-intro > p {
        font-size: 13px;
    }

    .settings-card {
        padding: 21px 16px;
    }

    .settings-card-header {
        gap: 12px;
    }

    .settings-card-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

}
/* =========================================================
   PROFILE PAGE
   Fuel Security Co. Ltd. — Admin Panel
========================================================= */


/* ---------------------------------------------------------
   PROFILE PAGE GRID
--------------------------------------------------------- */

.profile-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
    gap: 28px;
    margin-bottom: 32px;
}


/* ---------------------------------------------------------
   MAIN PROFILE CARD
--------------------------------------------------------- */

.profile-main-card {
    background: #ffffff;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.055);
}


/* ---------------------------------------------------------
   PROFILE CARD HEADER
--------------------------------------------------------- */

.profile-card-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 34px;
    background:
        linear-gradient(
            135deg,
            #071a16 0%,
            #0c2921 58%,
            #12382d 100%
        );
    overflow: hidden;
}

.profile-card-header::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -130px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
}

.profile-card-header::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: 45px;
    bottom: -115px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}


/* ---------------------------------------------------------
   LARGE PROFILE AVATAR
--------------------------------------------------------- */

.profile-avatar-large {
    position: relative;
    z-index: 2;
    width: 82px;
    height: 82px;
    min-width: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ffd700,
        #e6b800
    );
    color: #071a16;
    font-size: 28px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 0 6px rgba(255, 215, 0, 0.08);
}

.profile-card-header > div:last-child {
    position: relative;
    z-index: 2;
}

.profile-role-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #ffd700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.profile-card-header h2 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.profile-card-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}


/* ---------------------------------------------------------
   PROFILE INFORMATION
--------------------------------------------------------- */

.profile-information {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 8px 34px 28px;
}

.profile-information-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 8px;
    border-bottom: 1px solid #edf0f2;
}

.profile-information-item:nth-child(odd) {
    padding-right: 28px;
}

.profile-information-item:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid #edf0f2;
}

.profile-information-item:nth-last-child(-n + 2) {
    border-bottom: none;
}


/* ---------------------------------------------------------
   INFORMATION ICON
--------------------------------------------------------- */

.profile-information-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f4f7f6;
    color: #1e5a3a;
    font-size: 16px;
    transition: .25s ease;
}

.profile-information-item:hover
.profile-information-icon {
    background: #1e5a3a;
    color: #ffd700;
    transform: translateY(-2px);
}

.profile-information-item > div:last-child {
    min-width: 0;
}

.profile-information-item span {
    display: block;
    margin-bottom: 6px;
    color: #8a929b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.profile-information-item strong {
    display: block;
    color: #17211e;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   RIGHT COLUMN
--------------------------------------------------------- */

.profile-side-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* ---------------------------------------------------------
   STATUS CARD
--------------------------------------------------------- */

.profile-status-card {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.055);
}

.profile-status-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1e5a3a;
}

.profile-status-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #edf8f2;
    color: #1e8a56;
    font-size: 21px;
}

.profile-status-card > span {
    display: block;
    margin-bottom: 7px;
    color: #89929a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.profile-status-card h3 {
    margin: 0 0 12px;
    color: #1e5a3a;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .3px;
}

.profile-status-card p {
    margin: 0;
    color: #68727a;
    font-size: 13px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   SECURITY CARD
--------------------------------------------------------- */

.profile-security-card {
    padding: 28px;
    border-radius: 18px;
    background: #071a16;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 35px rgba(7, 26, 22, 0.15);
}

.profile-security-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.profile-security-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    font-size: 17px;
}

.profile-security-header span {
    display: block;
    margin-bottom: 5px;
    color: #ffd700;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.profile-security-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.profile-security-card > p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.75;
}

.profile-security-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 10px;
    color: #ffd700;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.profile-security-button i:last-child {
    margin-left: auto;
    transition: transform .25s ease;
}

.profile-security-button:hover {
    background: #ffd700;
    border-color: #ffd700;
    color: #071a16;
}

.profile-security-button:hover i:last-child {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   PROFILE ACCOUNT SECTION
--------------------------------------------------------- */

.profile-account-section {
    margin-top: 10px;
}


/* ---------------------------------------------------------
   ACCESS GRID
--------------------------------------------------------- */

.profile-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.profile-access-item {
    display: flex;
    flex-direction: column;
    gap: 17px;
    min-height: 170px;
    padding: 23px;
    background: #ffffff;
    border: 1px solid #e8ebef;
    border-radius: 15px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.profile-access-item:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 90, 58, 0.22);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.profile-access-item > i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f2f6f4;
    color: #1e5a3a;
    font-size: 16px;
}

.profile-access-item strong {
    display: block;
    margin-bottom: 7px;
    color: #18221f;
    font-size: 13px;
    font-weight: 700;
}

.profile-access-item span {
    display: block;
    color: #788188;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   PROFILE RESPONSIVE
========================================================= */


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .profile-page-grid {
        grid-template-columns: 1fr;
    }

    .profile-side-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ---------------------------------------------------------
   SMALL TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .profile-page-grid {
        gap: 20px;
    }

    .profile-card-header {
        padding: 28px;
    }

    .profile-information {
        padding-left: 24px;
        padding-right: 24px;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 650px) {

    .profile-page-grid {
        display: block;
    }

    .profile-main-card {
        margin-bottom: 20px;
        border-radius: 14px;
    }

    .profile-card-header {
        gap: 16px;
        padding: 24px 20px;
    }

    .profile-avatar-large {
        width: 64px;
        height: 64px;
        min-width: 64px;
        font-size: 22px;
    }

    .profile-card-header h2 {
        font-size: 20px;
    }

    .profile-card-header p {
        font-size: 12px;
    }

    .profile-information {
        display: block;
        padding: 0 20px 10px;
    }

    .profile-information-item,
    .profile-information-item:nth-child(odd),
    .profile-information-item:nth-child(even) {
        padding: 18px 0;
        border-left: none;
        border-bottom: 1px solid #edf0f2;
    }

    .profile-information-item:last-child {
        border-bottom: none;
    }

    .profile-side-column {
        display: flex;
        gap: 18px;
    }

    .profile-status-card,
    .profile-security-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .profile-access-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-access-item {
        min-height: auto;
        padding: 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .profile-access-item > i {
        flex-shrink: 0;
    }

}


/* ---------------------------------------------------------
   VERY SMALL DEVICES
--------------------------------------------------------- */

@media (max-width: 400px) {

    .profile-card-header {
        align-items: flex-start;
    }

    .profile-avatar-large {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 19px;
    }

    .profile-card-header h2 {
        font-size: 18px;
    }

    .profile-information-item strong {
        font-size: 13px;
    }

}