/* =========================================================
   TREGOO TRAVELS — ADMIN PORTAL
   ADMIN.CSS
   LOGIN + DASHBOARD + COMMON ADMIN UI
   FIXED VERSION — MATCHES CURRENT DASHBOARD.HTML
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: #f4f5f6;
    color: #17202a;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.hidden {
    display: none !important;
}


/* =========================================================
   =========================================================
   LOGIN PAGE
   =========================================================
========================================================= */

.admin-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 48% 52%;
}


/* =========================================================
   LOGIN BRAND PANEL
========================================================= */

.admin-brand-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(246,196,83,0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(255,255,255,0.05),
            transparent 35%
        ),
        #17202a;

    color: #fff;
}

.admin-brand-panel::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    top: -220px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.admin-brand-panel::after {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: -420px;
    bottom: -420px;

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

.brand-panel-inner {
    position: relative;
    z-index: 2;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 60px 70px;
}


/* =========================================================
   LOGO
========================================================= */

.admin-logo {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
}

.admin-logo-main {
    font-family: "Playfair Display", serif;

    font-size: 34px;
    font-weight: 800;

    line-height: 0.9;
    letter-spacing: -1px;
}

.admin-logo-sub {
    margin-top: 7px;

    color: #f6c453;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 5px;
}


/* =========================================================
   LOGIN BRAND CONTENT
========================================================= */

.brand-content {
    max-width: 540px;

    margin-top: auto;
    margin-bottom: 55px;
}

.brand-eyebrow {
    display: block;

    margin-bottom: 22px;

    color: #f6c453;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 4px;
}

.brand-content h1 {
    margin-bottom: 25px;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 0.98;
    letter-spacing: -2px;
}

.brand-content p {
    max-width: 470px;

    color: #aeb7bd;

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   BRAND FEATURES
========================================================= */

.brand-features {
    display: grid;
    gap: 15px;

    max-width: 560px;
}

.brand-feature {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 15px 0;

    border-top: 1px solid rgba(255,255,255,0.10);
}

.feature-number {
    min-width: 32px;

    color: #f6c453;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.brand-feature strong {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
}

.brand-feature small {
    color: #7f8a91;

    font-size: 10px;
}


/* =========================================================
   BRAND FOOTER
========================================================= */

.brand-footer {
    display: flex;

    gap: 10px;

    margin-top: 45px;

    color: #707b83;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   LOGIN RIGHT PANEL
========================================================= */

.admin-login-panel {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background: #f7f7f7;
}

.login-container {
    width: 100%;
    max-width: 480px;
}

.mobile-logo {
    display: none;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.login-heading {
    margin-bottom: 38px;
}

.login-heading > span {
    display: block;

    margin-bottom: 12px;

    color: #a07818;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 3px;
}

.login-heading h2 {
    margin-bottom: 12px;

    font-family: "Playfair Display", serif;

    color: #17202a;

    font-size: 45px;

    line-height: 1;
    letter-spacing: -1px;
}

.login-heading p {
    max-width: 410px;

    color: #7a848b;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   LOGIN FORM
========================================================= */

.admin-form-group {
    margin-bottom: 21px;
}

.admin-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #27313a;

    font-size: 11px;
    font-weight: 800;
}

.input-wrapper {
    position: relative;

    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;

    left: 17px;

    z-index: 2;

    color: #9da5aa;

    font-size: 12px;

    pointer-events: none;
}

.input-wrapper input {
    width: 100%;

    min-height: 55px;

    padding: 0 48px;

    border: 1px solid #dfe2e4;
    border-radius: 11px;

    outline: none;

    background: #fff;
    color: #17202a;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #aeb5ba;
}

.input-wrapper input:focus {
    border-color: #c69a31;

    box-shadow:
        0 0 0 4px
        rgba(198,154,49,0.10);
}


/* =========================================================
   PASSWORD
========================================================= */

.password-toggle {
    position: absolute;

    right: 14px;

    border: 0;

    background: transparent;

    color: #8b6410;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.5px;
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin: 4px 0 25px;
}

.remember-option {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #707980;

    font-size: 10px;

    cursor: pointer;
}

.remember-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.custom-checkbox {
    position: relative;

    width: 16px;
    height: 16px;

    border: 1px solid #cdd2d5;
    border-radius: 4px;

    background: #fff;

    transition: 0.2s ease;
}

.remember-option input:checked + .custom-checkbox {
    border-color: #d7a82f;
    background: #d7a82f;
}

.remember-option input:checked + .custom-checkbox::after {
    content: "✓";

    position: absolute;

    left: 3px;
    top: 0;

    color: #17202a;

    font-size: 10px;
    font-weight: 900;
}

.forgot-button {
    padding: 0;

    border: 0;

    background: transparent;

    color: #8b6410;

    font-size: 10px;
    font-weight: 700;
}

.forgot-button:hover {
    text-decoration: underline;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.admin-login-button {
    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px 0 25px;

    border: 0;
    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #f6c453,
            #e4a625
        );

    color: #17202a;

    font-size: 13px;
    font-weight: 900;

    box-shadow:
        0 12px 30px
        rgba(220,165,40,0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.admin-login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 38px
        rgba(220,165,40,0.34);
}

.login-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: rgba(23,32,42,0.12);

    font-size: 17px;
}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.login-message {
    min-height: 18px;

    margin-top: 15px;

    text-align: center;

    color: #b33b3b;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   SECURITY
========================================================= */

.security-note {
    display: flex;

    gap: 13px;

    margin-top: 28px;

    padding: 17px;

    border: 1px solid #e4e6e7;
    border-radius: 12px;

    background: #fff;
}

.security-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #edf5e9;

    color: #477338;

    font-size: 12px;
    font-weight: 900;
}

.security-note strong {
    display: block;

    margin-bottom: 4px;

    color: #38434a;

    font-size: 10px;
    font-weight: 800;
}

.security-note p {
    color: #8b9499;

    font-size: 9px;
    line-height: 1.6;
}


/* =========================================================
   LOGIN FOOTER
========================================================= */

.login-footer {
    display: flex;

    justify-content: center;

    gap: 9px;

    margin-top: 32px;

    color: #a3aaae;

    font-size: 9px;
}

.footer-dot {
    color: #d2a334;
}


/* =========================================================
   LOGIN LOADING
========================================================= */

.admin-login-button.loading {
    opacity: 0.75;

    cursor: wait;

    pointer-events: none;
}

.admin-login-button.loading .login-arrow {
    animation:
        loginSpin
        0.8s linear infinite;
}

@keyframes loginSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   =========================================================
   ADMIN DASHBOARD
   =========================================================
========================================================= */


/* =========================================================
   DASHBOARD PAGE
========================================================= */

.admin-dashboard,
.dashboard-page,
.admin-page {
    min-height: 100vh;

    background: #f4f5f6;
}


/* =========================================================
   SIDEBAR
========================================================= */

.admin-sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 255px;

    z-index: 1000;

    display: flex;
    flex-direction: column;

    padding: 30px 18px;

    background: #17202a;

    color: #fff;

    border-right: 1px solid rgba(255,255,255,0.06);
}


/* =========================================================
   SIDEBAR LOGO
========================================================= */

.admin-sidebar .admin-logo {
    margin: 5px 10px 38px;
}

.admin-sidebar .admin-logo-main {
    color: #fff;
}

.admin-sidebar .admin-logo-sub {
    color: #f6c453;
}


/* =========================================================
   NAVIGATION
========================================================= */

.admin-nav {
    display: flex;
    flex-direction: column;
}

.nav-label {
    padding: 0 10px 10px;

    color: #6f7b83;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.nav-label-space {
    margin-top: 28px;
}

.admin-nav a {
    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 46px;

    margin-bottom: 5px;

    padding: 0 12px;

    border-radius: 10px;

    color: #aeb7bd;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.admin-nav a:hover {
    background: rgba(255,255,255,0.06);

    color: #fff;

    transform: translateX(2px);
}

.admin-nav a.active {
    background: rgba(246,196,83,0.13);

    color: #f6c453;
}

.nav-icon {
    width: 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: currentColor;

    font-size: 12px;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.admin-sidebar-bottom {
    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-user-mini {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 13px;
}

.admin-avatar {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #f6c453,
            #d99c20
        );

    color: #17202a;

    font-size: 12px;
    font-weight: 900;
}

.admin-user-mini strong {
    display: block;

    margin-bottom: 3px;

    color: #fff;

    font-size: 10px;
}

.admin-user-mini small {
    display: block;

    color: #78858d;

    font-size: 8px;
}


/* =========================================================
   LOGOUT
========================================================= */

.logout-button {
    width: 100%;

    min-height: 42px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 9px;

    background: rgba(255,255,255,0.04);

    color: #aeb7bd;

    font-size: 10px;
    font-weight: 700;

    transition: 0.2s ease;
}

.logout-button:hover {
    border-color: rgba(246,196,83,0.4);

    color: #f6c453;

    background: rgba(246,196,83,0.07);
}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.sidebar-overlay {
    position: fixed;

    inset: 0;

    z-index: 900;

    background: rgba(10,15,20,0.55);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MAIN DASHBOARD WRAPPER
   IMPORTANT FIX:
   margin-left ONLY belongs to .admin-main
========================================================= */

.admin-main {
    min-height: 100vh;

    margin-left: 255px;

    padding: 0;
}


/* =========================================================
   TOP BAR
========================================================= */

.admin-topbar {
    min-height: 92px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 24px 42px;

    border-bottom: 1px solid #e6e8e9;

    background: rgba(244,245,246,0.96);
}

.menu-button {
    display: none;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border: 1px solid #dfe3e5;
    border-radius: 9px;

    background: #fff;

    color: #17202a;

    font-size: 17px;
}

.topbar-title {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.topbar-title > span {
    color: #9a6f14;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.topbar-title h1 {
    color: #17202a;

    font-family: "Playfair Display", serif;

    font-size: 32px;
    font-weight: 700;

    line-height: 1;
}

.topbar-right {
    display: flex;

    align-items: center;

    gap: 18px;
}

.admin-status {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #477338;

    font-size: 9px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #5b913f;

    box-shadow:
        0 0 0 4px
        rgba(91,145,63,0.10);
}

.view-site-button {
    min-height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 15px;

    border: 1px solid #dfe3e5;

    border-radius: 8px;

    background: #fff;

    color: #38434a;

    font-size: 9px;
    font-weight: 800;

    transition: 0.2s ease;
}

.view-site-button:hover {
    border-color: #d2a536;

    color: #8b6410;

    transform: translateY(-1px);
}


/* =========================================================
   DASHBOARD CONTENT
   IMPORTANT FIX:
   NO margin-left here
========================================================= */

.admin-content {
    min-height: calc(100vh - 92px);

    margin-left: 0;

    padding: 40px 42px 55px;

    max-width: 1600px;
}


/* =========================================================
   DASHBOARD INTRO
========================================================= */

.dashboard-intro {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.eyebrow {
    margin-bottom: 8px;

    color: #a07818;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.dashboard-intro h2 {
    margin-bottom: 7px;

    color: #17202a;

    font-family: "Playfair Display", serif;

    font-size: 30px;
    line-height: 1.1;
}

.dashboard-intro p {
    color: #7a848b;

    font-size: 11px;

    line-height: 1.7;
}

.refresh-button {
    min-height: 38px;

    padding: 0 15px;

    border: 1px solid #dfe3e5;

    border-radius: 8px;

    background: #fff;

    color: #526069;

    font-size: 9px;
    font-weight: 800;

    transition: 0.2s ease;
}

.refresh-button:hover {
    border-color: #d2a536;

    color: #8b6410;

    transform: translateY(-1px);
}


/* =========================================================
   STATS GRID
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 22px;
}


/* =========================================================
   STAT CARD
========================================================= */

.stat-card {
    position: relative;

    min-height: 155px;

    padding: 21px;

    border: 1px solid #e3e6e7;

    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 8px 28px
        rgba(23,32,42,0.045);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #f6c453,
            #e5a928
        );
}

.stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px
        rgba(23,32,42,0.07);
}

.stat-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 15px;
}

.stat-label {
    color: #7f898f;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.stat-icon {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #faf5e5;

    color: #9a6f14;

    font-size: 11px;
}

.stat-number {
    display: block;

    color: #17202a;

    font-family: "Playfair Display", serif;

    font-size: 34px;
    font-weight: 700;

    line-height: 1;

    margin-bottom: 15px;
}

.stat-card-revenue .stat-number {
    font-size: 28px;
}

.stat-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    color: #969fa4;

    font-size: 8px;
}

.stat-positive {
    color: #477338;

    font-weight: 700;
}

.stat-warning {
    color: #a07818;

    font-weight: 700;
}


/* =========================================================
   MAIN DASHBOARD GRID
========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(300px, 0.85fr);

    gap: 18px;

    margin-bottom: 18px;
}


/* =========================================================
   GENERIC PANEL
========================================================= */

.admin-panel {
    border: 1px solid #e3e6e7;

    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 8px 28px
        rgba(23,32,42,0.04);

    overflow: hidden;
}

.panel-header {
    min-height: 76px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 21px;

    border-bottom: 1px solid #edf0f1;
}

.panel-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #a07818;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}

.panel-header h3 {
    color: #17202a;

    font-family: "Playfair Display", serif;

    font-size: 20px;
    line-height: 1.1;
}

.panel-link {
    color: #8b6410;

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}

.panel-link:hover {
    text-decoration: underline;
}


/* =========================================================
   RECENT BOOKINGS
========================================================= */

.recent-bookings-panel {
    min-height: 210px;
}

.booking-row {
    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 13px;

    padding: 17px 21px;

    border-bottom: 1px solid #edf0f1;
}

.booking-avatar {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #f7d77e,
            #f0b73e
        );

    color: #17202a;

    font-size: 10px;
    font-weight: 900;
}

.booking-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.booking-info strong {
    color: #27313a;

    font-size: 11px;
}

.booking-info span {
    color: #8b9499;

    font-size: 9px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-meta {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 4px;
}

.booking-meta strong {
    color: #27313a;

    font-size: 11px;
}

.booking-meta span {
    color: #8b9499;

    font-size: 8px;
}

.booking-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 23px;

    padding: 0 9px;

    border-radius: 50px;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
}

.status-new {
    background: #f8f0d9;

    color: #8b6410;
}

.booking-empty {
    padding: 15px 21px;

    color: #9aa3a8;

    font-size: 9px;

    text-align: center;
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-actions-panel {
    min-height: 210px;
}

.quick-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    padding: 15px;
}

.quick-action {
    position: relative;

    min-height: 84px;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 13px;

    border: 1px solid #e4e6e7;

    border-radius: 11px;

    background: #fafafa;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.quick-action:hover {
    border-color: #d7ae45;

    background: #fff;

    transform: translateY(-2px);
}

.quick-action-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #f8f1dc;

    color: #8b6410;

    font-size: 10px;
}

.quick-action > div {
    min-width: 0;
}

.quick-action strong {
    display: block;

    margin-bottom: 5px;

    color: #27313a;

    font-size: 10px;
}

.quick-action span {
    display: block;

    color: #8b9499;

    font-size: 8px;

    line-height: 1.55;
}

.quick-action b {
    position: absolute;

    right: 11px;
    bottom: 9px;

    color: #7f898f;

    font-size: 13px;

    font-weight: 400;
}


/* =========================================================
   PACKAGE OVERVIEW
========================================================= */

.package-overview {
    margin-bottom: 18px;
}

.package-overview-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 20px;

    padding: 20px 21px;
}

.package-overview-main {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;
}

.package-placeholder-image {
    width: 62px;
    height: 62px;

    flex: 0 0 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #17202a,
            #283540
        );

    color: #f6c453;

    font-family: "Playfair Display", serif;

    font-size: 27px;
    font-weight: 700;
}

.package-category {
    display: block;

    margin-bottom: 4px;

    color: #a07818;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.package-overview-main h4 {
    margin-bottom: 4px;

    color: #27313a;

    font-family: "Playfair Display", serif;

    font-size: 17px;
}

.package-overview-main p {
    color: #8b9499;

    font-size: 8px;

    line-height: 1.5;
}

.package-overview-price {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

    min-width: 115px;
}

.package-overview-price span {
    color: #9aa3a8;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1px;
}

.package-overview-price strong {
    color: #17202a;

    font-family: "Playfair Display", serif;

    font-size: 21px;
}

.package-overview-price small {
    color: #9aa3a8;

    font-size: 7px;
}

.package-manage-button {
    min-height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #f6c453,
            #e5a928
        );

    color: #17202a;

    font-size: 8px;
    font-weight: 900;

    transition: 0.2s ease;
}

.package-manage-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(229,169,40,0.22);
}


/* =========================================================
   SYSTEM INFO
========================================================= */

.system-info {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 25px;
}

.system-info > div {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    border: 1px solid #e3e6e7;

    border-radius: 11px;

    background: #fff;
}

.system-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf5e9;

    color: #477338;

    font-size: 10px;
    font-weight: 900;
}

.system-info strong {
    display: block;

    margin-bottom: 3px;

    color: #38434a;

    font-size: 8px;
}

.system-info span:not(.system-icon) {
    display: block;

    color: #8b9499;

    font-size: 7px;
}


/* =========================================================
   FOOTER
========================================================= */

.admin-footer {
    margin-left: 255px;

    padding:
        0 42px
        28px;

    color: #9aa3a8;

    font-size: 8px;

    text-align: center;
}


/* =========================================================
   TABLE / COMMON ADMIN UI
========================================================= */

.admin-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid #e4e6e7;

    border-radius: 14px;

    background: #fff;
}

.admin-table {
    width: 100%;

    min-width: 700px;

    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 16px;

    border-bottom: 1px solid #e5e7e8;

    background: #fafafa;

    color: #7b858b;

    font-size: 9px;
    font-weight: 800;

    text-align: left;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.admin-table td {
    padding: 16px;

    border-bottom: 1px solid #f0f1f2;

    color: #38434a;

    font-size: 11px;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table tr:hover td {
    background: #fcfcfb;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header,
.admin-page-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.page-header h1,
.admin-page-header h1 {
    margin-bottom: 7px;

    font-family: "Playfair Display", serif;

    color: #17202a;

    font-size: 36px;
}

.page-header p,
.admin-page-header p {
    color: #7f898f;

    font-size: 11px;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.admin-primary-button,
.add-package-button {
    min-height: 45px;

    padding: 0 20px;

    border: 0;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #f6c453,
            #e5a928
        );

    color: #17202a;

    font-size: 10px;
    font-weight: 900;

    box-shadow:
        0 8px 22px
        rgba(229,169,40,0.20);

    transition: 0.2s ease;
}

.primary-button:hover,
.admin-primary-button:hover,
.add-package-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(229,169,40,0.30);
}


/* =========================================================
   FORM CARD
========================================================= */

.admin-form-card {
    max-width: 900px;

    padding: 30px;

    border: 1px solid #e4e6e7;

    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 10px 35px
        rgba(23,32,42,0.04);
}

.admin-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 18px;
}

.admin-field {
    display: flex;
    flex-direction: column;
}

.admin-field.full {
    grid-column: 1 / -1;
}

.admin-field label {
    margin-bottom: 7px;

    color: #38434a;

    font-size: 10px;
    font-weight: 800;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;

    min-height: 48px;

    padding: 12px 14px;

    border: 1px solid #dfe3e5;

    border-radius: 9px;

    outline: none;

    background: #fff;

    color: #27313a;

    font-size: 11px;
}

.admin-field textarea {
    min-height: 110px;

    resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    border-color: #d2a536;

    box-shadow:
        0 0 0 4px
        rgba(210,165,54,0.10);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.admin-empty-state,
.empty-state {
    padding: 45px 20px;

    text-align: center;

    color: #929ba0;

    font-size: 11px;
}

.admin-empty-state strong,
.empty-state strong {
    display: block;

    margin-bottom: 7px;

    color: #56616a;

    font-size: 13px;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.edit-button,
.view-button,
.delete-button {
    min-height: 32px;

    padding: 0 11px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 800;
}

.view-button {
    border: 1px solid #dfe3e5;

    background: #fff;

    color: #526069;
}

.edit-button {
    border: 1px solid #e5ca78;

    background: #fffaf0;

    color: #8b6410;
}

.delete-button {
    border: 1px solid #efcccc;

    background: #fff5f5;

    color: #a44242;
}

.delete-button:hover {
    background: #b84a4a;

    border-color: #b84a4a;

    color: #fff;
}


/* =========================================================
   DESKTOP LARGE
========================================================= */

@media (min-width: 1400px) {

    .admin-sidebar {
        width: 270px;
    }

    .admin-main {
        margin-left: 270px;
    }

    .admin-footer {
        margin-left: 270px;
    }

    .admin-content {
        padding-left: 52px;
        padding-right: 52px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .admin-sidebar {
        width: 230px;
    }

    .admin-main {
        margin-left: 230px;
    }

    .admin-footer {
        margin-left: 230px;
    }

    .admin-topbar {
        padding-left: 28px;
        padding-right: 28px;
    }

    .admin-content {
        padding:
            32px 28px
            45px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .system-info {
        grid-template-columns: 1fr;
    }

    .admin-login-page {
        grid-template-columns: 42% 58%;
    }

    .brand-panel-inner {
        padding: 45px 40px;
    }

    .brand-content h1 {
        font-size: 48px;
    }

    .admin-login-panel {
        padding: 40px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    /* ==============================
       LOGIN
    ============================== */

    .admin-login-page {
        display: block;
        min-height: 100vh;
    }

    .admin-brand-panel {
        display: none;
    }

    .admin-login-panel {
        min-height: 100vh;

        padding: 35px 20px;

        align-items: flex-start;

        background:
            linear-gradient(
                180deg,
                #f3f4f5 0%,
                #ffffff 100%
            );
    }

    .login-container {
        max-width: 520px;

        margin: 0 auto;
    }

    .mobile-logo {
        display: flex;

        flex-direction: column;

        width: max-content;

        margin-bottom: 55px;
    }

    .mobile-logo .admin-logo-main {
        font-size: 32px;
    }

    .login-heading {
        margin-bottom: 32px;
    }

    .login-heading h2 {
        font-size: 39px;
    }

    .login-heading p {
        font-size: 12px;
    }


    /* ==============================
       SIDEBAR
    ============================== */

    .admin-sidebar {
        width: 280px;

        position: fixed;

        left: 0;
        top: 0;
        bottom: 0;

        z-index: 1000;

        transform: translateX(-100%);

        transition:
            transform 0.25s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }


    /* ==============================
       MAIN
    ============================== */

    .admin-main {
        margin-left: 0;

        min-height: 100vh;
    }

    .admin-topbar {
        min-height: 75px;

        padding:
            16px 18px;
    }

    .menu-button {
        display: flex;
    }

    .topbar-title {
        flex: 1;

        min-width: 0;
    }

    .topbar-title h1 {
        font-size: 25px;
    }

    .topbar-right {
        gap: 8px;
    }

    .admin-status {
        display: none;
    }

    .view-site-button {
        min-height: 34px;

        padding: 0 10px;

        font-size: 8px;
    }

    .admin-content {
        margin-left: 0;

        min-height: auto;

        padding:
            25px 18px
            40px;
    }


    /* ==============================
       INTRO
    ============================== */

    .dashboard-intro {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .dashboard-intro h2 {
        font-size: 27px;
    }

    .refresh-button {
        align-self: flex-start;
    }


    /* ==============================
       STATS
    ============================== */

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 10px;
    }

    .stat-card {
        min-height: 145px;

        padding: 17px;
    }

    .stat-label {
        font-size: 7px;
    }

    .stat-number {
        font-size: 29px;
    }

    .stat-card-revenue .stat-number {
        font-size: 23px;
    }


    /* ==============================
       DASHBOARD GRID
    ============================== */

    .dashboard-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .booking-row {
        grid-template-columns:
            36px
            minmax(0,1fr);

        gap: 10px;
    }

    .booking-meta {
        grid-column: 2;

        align-items: flex-start;
    }

    .booking-status {
        grid-column: 2;

        width: max-content;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }


    /* ==============================
       PACKAGE
    ============================== */

    .package-overview-card {
        grid-template-columns: 1fr;

        align-items: flex-start;
    }

    .package-overview-price {
        align-items: flex-start;
    }

    .package-manage-button {
        width: 100%;
    }


    /* ==============================
       SYSTEM INFO
    ============================== */

    .system-info {
        grid-template-columns: 1fr;
    }


    /* ==============================
       FOOTER
    ============================== */

    .admin-footer {
        margin-left: 0;

        padding:
            0 18px
            25px;
    }


    /* ==============================
       FORMS
    ============================== */

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-field.full {
        grid-column: auto;
    }

    .page-header,
    .admin-page-header {
        align-items: flex-start;

        flex-direction: column;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .admin-topbar {
        padding:
            14px 14px;
    }

    .topbar-title > span {
        font-size: 7px;
    }

    .topbar-title h1 {
        font-size: 22px;
    }

    .view-site-button {
        display: none;
    }

    .admin-content {
        padding:
            22px 14px
            35px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 135px;
    }

    .dashboard-intro h2 {
        font-size: 25px;
    }

    .panel-header {
        padding:
            16px;
    }

    .panel-header h3 {
        font-size: 18px;
    }

    .package-overview-card {
        padding:
            17px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline:
        3px solid
        rgba(214,167,45,0.25);

    outline-offset: 2px;
}