:root {
    --ink-900: #1b2630;
    --ink-700: #344454;
    --ink-500: #586a78;
    --paper: #fffdf9;
    --paper-soft: #f7f3eb;
    --line: #d9ccba;
    --line-strong: #c6b59d;
    --brand-900: #0f4143;
    --brand-700: #18595a;
    --brand-500: #2a7370;
    --accent: #c7973d;
    --danger: #9b2f2f;
    --danger-bg: #fff1f1;
    --ok: #1f6b49;
    --ok-bg: #ebf8f1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink-900);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background:
        radial-gradient(1100px 520px at -5% -15%, rgba(199, 151, 61, 0.20), transparent 62%),
        radial-gradient(900px 420px at 105% -10%, rgba(42, 115, 112, 0.16), transparent 60%),
        linear-gradient(180deg, #f2ebe0 0%, #f7f2e9 45%, #f1eadf 100%);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #182530;
    font-family: "Merriweather", Georgia, serif;
    letter-spacing: 0.01em;
}

p, li, td, th, input, select, textarea, button {
    font-size: 1rem;
}

#headerMenu {
    background: linear-gradient(180deg, rgba(15, 65, 67, 0.98), rgba(13, 52, 54, 0.98));
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 12px 24px rgba(15, 65, 67, 0.24);
}

#headerMenu a,
#headerMenu span {
    color: #f4efe4 !important;
}

#headerMenu .rounded-full {
    border: 1px solid transparent;
}

#headerMenu a.rounded-full:hover,
#headerMenu a.rounded-full:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    outline: none;
}

#headerMenu a.is-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

#headerMenu a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(199, 151, 61, 0.95) !important;
    outline-offset: 2px;
}

#headerMenu .rounded-full.bg-slate-900 {
    background: linear-gradient(180deg, var(--accent), #b6862f) !important;
    color: #1b2730 !important;
    border-color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

#headerMenu .rounded-full.bg-slate-900:hover {
    background: linear-gradient(180deg, #d0a14b, #be8d35) !important;
    color: #152029 !important;
}

main {
    padding-top: 1.5rem !important;
    padding-bottom: 2.75rem !important;
}

section,
article {
    border: 1px solid var(--line);
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 244, 236, 0.98));
    box-shadow:
        0 10px 28px rgba(36, 48, 64, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: #e6e9eb !important;
    color: #335f6d !important;
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

td, th {
    border-color: #e8dece !important;
    vertical-align: middle;
}

tbody tr:hover td {
    background: rgba(199, 151, 61, 0.09);
}

tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.3);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="file"],
select,
textarea {
    border: 1px solid var(--line-strong) !important;
    border-radius: 10px !important;
    background: #fffdfa !important;
    color: var(--ink-900) !important;
    padding: 0.62rem 0.8rem !important;
}

input::placeholder,
textarea::placeholder {
    color: #7b8792;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--brand-500) !important;
    box-shadow: 0 0 0 3px rgba(42, 115, 112, 0.2) !important;
}

.rounded-xl.bg-slate-900,
.rounded-full.bg-slate-900,
.btn {
    background: linear-gradient(180deg, var(--brand-700), var(--brand-900)) !important;
    color: #f6f2ea !important;
    border: 1px solid rgba(10, 49, 50, 0.7) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.rounded-xl.bg-slate-900:hover,
.rounded-full.bg-slate-900:hover,
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 65, 67, 0.25);
    filter: brightness(1.04);
}

a {
    color: #135f69;
}

.border-slate-300.bg-white {
    background: #fffdfa !important;
    color: #2f3e4a !important;
    border-color: #c4b29a !important;
}

.border-emerald-200.bg-emerald-50 {
    background: var(--ok-bg) !important;
    color: var(--ok) !important;
    border-color: #9dc7b4 !important;
}

.border-amber-200.bg-amber-50 {
    background: #fff6e6 !important;
    color: #8d5a02 !important;
    border-color: #e3bf7f !important;
}

.border-blue-200.bg-blue-50 {
    background: #edf6ff !important;
    color: #0f4e82 !important;
    border-color: #9bc4e7 !important;
}

.border-red-200.bg-red-50 {
    background: var(--danger-bg) !important;
    color: var(--danger) !important;
    border-color: #d7a5a5 !important;
}

.text-slate-500 { color: #687987 !important; }
.text-slate-600 { color: #4f6272 !important; }
.text-slate-700 { color: #384b5d !important; }

.text-slate-900 {
    color: var(--ink-900) !important;
}

code {
    background: #f2ecdf;
    border: 1px solid #deceb6;
    border-radius: 6px;
    color: #273745;
    padding: 0.1rem 0.35rem;
}
