:root {
    --cream: #f7f3eb;
    --sand: #f0e6d2;
    --ink: #1e2430;
    --muted: #6c7485;
    --gold: #bc8a3d;
    --green: #245f4a;
    --line: #d8d1c4;
    --white: #ffffff;
}

body {
    background:
        radial-gradient(circle at 5% 0%, #fff8ec 0%, transparent 45%),
        radial-gradient(circle at 95% 100%, #eaf6ef 0%, transparent 35%),
        linear-gradient(140deg, var(--cream), #f5efe2);
    color: var(--ink);
    min-height: 100vh;
}

.auth-body {
    display: flex;
    align-items: center;
}

.auth-card,
.card {
    border: 1px solid rgba(188, 138, 61, 0.15);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(30, 36, 48, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
}

.app-header {
    background: linear-gradient(120deg, #1f4f40, #2c6a56 60%, #b8863b);
    border-radius: 16px;
    padding: 16px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff3de, #f0c98e);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #3f2b13;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.brand-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-title {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.menu-bar {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-link {
    color: #2e3547;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.menu-link:hover {
    color: #1d2331;
    background: #f8f4eb;
    text-decoration: none;
}

.menu-link.active {
    background: linear-gradient(120deg, #e8f3ee, #eaf0ff);
    color: #0f4f3b;
    box-shadow: inset 0 0 0 1px rgba(36, 95, 74, 0.28);
}

.section-title {
    border-left: 5px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 14px;
}

.stat-card {
    background: linear-gradient(160deg, #ffffff, #f9f8f3);
    border: 1px solid #ece4d8;
    border-left: 4px solid var(--green);
    border-radius: 12px;
}

.stat-label {
    font-size: 0.83rem;
    color: var(--muted);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #273247;
}

.status-chip {
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.status-chip.success { background: #e6f6eb; color: #0f5f36; }
.status-chip.warning { background: #fff6df; color: #8a6300; }
.status-chip.danger { background: #ffe8e8; color: #8b1f1f; }

.table thead th {
    border-bottom: 2px solid var(--line);
}

.btn-main {
    background: linear-gradient(120deg, #285e4a, #2d7a5f);
    border: none;
    color: #fff;
}

.btn-main:hover {
    color: #fff;
    background: linear-gradient(120deg, #214d3c, #296a53);
}

@media (max-width: 767px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-bar {
        gap: 6px;
    }

    .menu-link {
        width: 100%;
        text-align: center;
    }
}
