/* ============================================================
   OWL - OBSIDIAN WOLVES LEGION
   Global Theme
   ============================================================ */

:root {
    --owl-black: #151619;
    --owl-charcoal: #24262a;
    --owl-charcoal-light: #34363b;

    --owl-red: #9f2025;
    --owl-red-dark: #72171b;
    --owl-red-light: #bd3a3f;

    --owl-cream: #eee7da;
    --owl-cream-light: #f5f0e7;
    --owl-cream-dark: #ddd3c2;

    --owl-text: #222326;
    --owl-muted: #69645c;

    --owl-border: #cfc4b2;

    --owl-shadow:
        0 3px 12px rgba(0, 0, 0, 0.10);

    --owl-radius: 8px;
}


/* ============================================================
   GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--owl-cream);
    color: var(--owl-text);
}


/* ============================================================
   LINKS
   ============================================================ */

a {
    color: var(--owl-red-dark);
}

a:hover {
    color: var(--owl-red);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.button {
    display: inline-block;
    padding: 11px 18px;

    background: var(--owl-charcoal);
    color: white;

    text-decoration: none;

    border-radius: 6px;
    border: 1px solid var(--owl-charcoal);

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background: var(--owl-red-dark);
    color: white;
    transform: translateY(-1px);
}

.button-red {
    background: var(--owl-red);
    border-color: var(--owl-red);
}

.button-red:hover {
    background: var(--owl-red-dark);
}


/* ============================================================
   APPLICATION HEADER
   ============================================================ */

.header {
    background: var(--owl-black);
    color: white;

    padding: 20px 40px;

    border-bottom: 3px solid var(--owl-red);
}

.header h1 {
    margin: 0;
    font-size: 26px;
}

.header p {
    margin: 5px 0 0;
    color: #d5d0c7;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
    display: flex;
    align-items: center;
    gap: 5px;

    background: var(--owl-cream-light);

    padding: 12px 40px;

    border-bottom: 1px solid var(--owl-border);

    flex-wrap: wrap;
}

.nav a {
    margin-right: 20px;

    text-decoration: none;

    color: var(--owl-text);

    font-weight: 500;
}

.nav a:hover {
    color: var(--owl-red);
}

.nav .disabled {
    color: #aaa;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    max-width: 1200px;

    margin: 30px auto;

    padding: 0 20px;
}


/* ============================================================
   CARDS
   ============================================================ */

.cards {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}

.card {
    background: var(--owl-cream-light);

    padding: 25px;

    border-radius: var(--owl-radius);

    border: 1px solid var(--owl-border);

    box-shadow: var(--owl-shadow);

    flex: 1;

    min-width: 220px;
}

.card-title {
    color: var(--owl-muted);

    font-size: 14px;

    margin-bottom: 10px;
}

.card-value {
    font-size: 32px;

    font-weight: bold;
}


/* ============================================================
   TABLES
   ============================================================ */

.table-container {
    background: var(--owl-cream-light);

    border-radius: var(--owl-radius);

    border: 1px solid var(--owl-border);

    box-shadow: var(--owl-shadow);

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 650px;
}

th {
    background: var(--owl-charcoal);

    color: white;

    text-align: left;

    padding: 14px;

    border-bottom: 1px solid var(--owl-border);
}

td {
    padding: 14px;

    border-bottom: 1px solid var(--owl-cream-dark);
}

tr:last-child td {
    border-bottom: none;
}


/* ============================================================
   STATUS
   ============================================================ */

.status-active {
    color: #287b43;

    font-weight: 600;
}

.status-inactive {
    color: #a62626;

    font-weight: 600;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-card {
    background: var(--owl-cream-light);

    padding: 30px;

    border-radius: var(--owl-radius);

    border: 1px solid var(--owl-border);

    box-shadow: var(--owl-shadow);

    max-width: 700px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 11px;

    border: 1px solid #bbb2a4;

    border-radius: 5px;

    font-size: 15px;

    background: white;
}


/* ============================================================
   PAGE TITLE
   ============================================================ */

.page-title {
    margin-bottom: 25px;
}

.page-title h2 {
    margin: 0;

    font-size: 28px;
}

.page-title p {
    color: var(--owl-muted);

    margin-top: 5px;
}


/* ============================================================
   EMPTY
   ============================================================ */

.empty {
    padding: 40px;

    text-align: center;

    color: var(--owl-muted);
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .header {
        padding: 18px 20px;
    }

    .header h1 {
        font-size: 22px;
    }

    .nav {
        padding: 10px 20px;

        gap: 8px;
    }

    .nav a {
        margin-right: 12px;

        font-size: 14px;
    }

    .container {
        margin: 20px auto;

        padding: 0 14px;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;

        min-width: 0;
    }

    .page-title h2 {
        font-size: 24px;
    }

    .button {
        padding: 10px 14px;
    }

}