:root {
    --whigus-indigo: #24125F;
    --whigus-indigo-dark: #170A43;
    --whigus-lime: #C6FF00;
    --whigus-lime-soft: #E8FF8A;
    --whigus-slate: #1F2937;
    --whigus-slate-soft: #374151;
    --whigus-orange: #FF6A00;
    --whigus-bg: #F6F8FB;
    --whigus-white: #FFFFFF;
    --whigus-border: #E5E7EB;
    --whigus-muted: #6B7280;
    --whigus-danger: #DC2626;
    --whigus-success: #16A34A;
    --whigus-radius: 18px;
    --whigus-shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(198, 255, 0, 0.18), transparent 32%),
        linear-gradient(135deg, #F6F8FB 0%, #EEF1F7 100%);
    color: var(--whigus-slate);
}

a {
    color: var(--whigus-indigo);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.whigus-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.whigus-topbar {
    background: var(--whigus-indigo);
    color: var(--whigus-white);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 12px 30px rgba(36, 18, 95, 0.25);
}

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

.whigus-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--whigus-lime);
    padding: 5px;
    object-fit: contain;
}

.whigus-brand-logo {
    height: 34px;
    width: auto;
    display: block;
}

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

.whigus-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.whigus-brand-slogan {
    font-size: 12px;
    color: var(--whigus-lime-soft);
    margin-top: 3px;
}

.whigus-userbar {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.whigus-userbar strong {
    color: var(--whigus-lime);
}

.whigus-logout {
    background: rgba(255, 255, 255, 0.12);
    color: var(--whigus-white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 700;
}

.whigus-logout:hover {
    background: var(--whigus-lime);
    color: var(--whigus-indigo);
    text-decoration: none;
}

.whigus-main {
    width: min(1180px, calc(100% - 32px));
    margin: 32px auto;
    flex: 1;
}

.whigus-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.whigus-page-title {
    margin: 0;
    font-size: 30px;
    color: var(--whigus-indigo);
    letter-spacing: -0.03em;
}

.whigus-page-subtitle {
    margin: 7px 0 0;
    color: var(--whigus-muted);
    font-size: 15px;
}

.whigus-card {
    background: var(--whigus-white);
    border: 1px solid var(--whigus-border);
    border-radius: var(--whigus-radius);
    box-shadow: var(--whigus-shadow);
    padding: 24px;
    margin-bottom: 22px;
}

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

.whigus-col-3 {
    grid-column: span 3;
}

.whigus-col-4 {
    grid-column: span 4;
}

.whigus-col-6 {
    grid-column: span 6;
}

.whigus-col-8 {
    grid-column: span 8;
}

.whigus-col-12 {
    grid-column: span 12;
}

.whigus-stat {
    background: var(--whigus-white);
    border: 1px solid var(--whigus-border);
    border-radius: var(--whigus-radius);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
    position: relative;
    overflow: hidden;
}

.whigus-stat::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: rgba(198, 255, 0, 0.35);
    transform: rotate(14deg);
}

.whigus-stat-label {
    color: var(--whigus-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.whigus-stat-value {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 900;
    color: var(--whigus-indigo);
}

.whigus-btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: var(--whigus-indigo);
    color: var(--whigus-white);
    font-weight: 800;
    cursor: pointer;
    min-height: 42px;
}

.whigus-btn:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--whigus-indigo-dark);
    text-decoration: none;
}

.whigus-btn-lime {
    background: var(--whigus-lime);
    color: var(--whigus-indigo);
}

.whigus-btn-lime:hover {
    background: #B4EA00;
    color: var(--whigus-indigo);
}

.whigus-btn-orange {
    background: var(--whigus-orange);
    color: var(--whigus-white);
}

.whigus-btn-secondary {
    background: var(--whigus-slate);
    color: var(--whigus-white);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--whigus-border);
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 15px;
    color: var(--whigus-slate);
    background: var(--whigus-white);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(198, 255, 0, 0.45);
    border-color: var(--whigus-indigo);
}

label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--whigus-indigo);
    margin-bottom: 7px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--whigus-white);
    border-radius: var(--whigus-radius);
    overflow: hidden;
}

thead {
    background: var(--whigus-indigo);
    color: var(--whigus-white);
}

th,
td {
    text-align: left;
    padding: 13px 15px;
    border-bottom: 1px solid var(--whigus-border);
    font-size: 14px;
}

tbody tr:hover {
    background: rgba(198, 255, 0, 0.10);
}

.whigus-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(36, 18, 95, 0.10);
    color: var(--whigus-indigo);
}

.whigus-badge-lime {
    background: rgba(198, 255, 0, 0.35);
    color: var(--whigus-indigo);
}

.whigus-badge-orange {
    background: rgba(255, 106, 0, 0.14);
    color: #9A3D00;
}

.whigus-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid var(--whigus-border);
    background: var(--whigus-white);
}

.whigus-alert-success {
    border-color: rgba(22, 163, 74, 0.25);
    background: rgba(22, 163, 74, 0.08);
    color: var(--whigus-success);
}

.whigus-alert-danger {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.08);
    color: var(--whigus-danger);
}

.whigus-footer {
    text-align: center;
    color: var(--whigus-muted);
    font-size: 13px;
    padding: 22px;
}

.whigus-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(198, 255, 0, 0.24), transparent 30%),
        linear-gradient(135deg, var(--whigus-indigo) 0%, var(--whigus-indigo-dark) 100%);
}

.whigus-login-card {
    width: min(430px, 100%);
    background: var(--whigus-white);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    padding: 34px;
}

.whigus-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.whigus-login-logo img {
    max-width: 210px;
    height: auto;
}

.whigus-login-title {
    margin: 0 0 6px;
    text-align: center;
    color: var(--whigus-indigo);
    font-size: 27px;
}

.whigus-login-subtitle {
    margin: 0 0 24px;
    text-align: center;
    color: var(--whigus-muted);
    font-size: 14px;
}

@media (max-width: 920px) {
    .whigus-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .whigus-col-3,
    .whigus-col-4,
    .whigus-col-6,
    .whigus-col-8 {
        grid-column: span 6;
    }

    .whigus-topbar,
    .whigus-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .whigus-main {
        width: min(100% - 20px, 1180px);
        margin: 20px auto;
    }

    .whigus-topbar {
        padding: 14px 18px;
    }

    .whigus-card {
        padding: 18px;
    }

    .whigus-page-title {
        font-size: 24px;
    }

    .whigus-brand-logo {
        height: 28px;
    }

    .whigus-userbar {
        width: 100%;
        justify-content: space-between;
    }

    th,
    td {
        padding: 10px 9px;
        font-size: 13px;
    }
}
