/* Modernize edilmis tema */
:root {
    --bg: #f3efe8;
    --bg-2: #f9f5ef;
    --surface: #ffffff;
    --ink: #221c17;
    --muted: #6f6359;
    --accent: #d66a1f;
    --accent-2: #1c7d8c;
    --border: #e5ddd1;
    --shadow: 0 12px 30px rgba(34, 28, 23, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --ring: rgba(214, 106, 31, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", "Space Grotesk", sans-serif;
    background: radial-gradient(1200px 600px at 10% -10%, #ffe7d3 0%, transparent 60%),
        radial-gradient(900px 500px at 110% 10%, #d7f1f5 0%, transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    color: var(--ink);
    min-height: 100vh;
}

.navbar {
    background: rgba(24, 24, 24, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.nav-link {
    color: #f7efe2 !important;
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(214, 106, 31, 0.35);
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--surface);
    overflow: hidden;
}

.card .card-body h5 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ee8a3a 100%);
    border: none;
    box-shadow: 0 8px 18px rgba(214, 106, 31, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(214, 106, 31, 0.4);
}

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.form-control,
.form-select,
select.form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem var(--ring);
}

.table {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--shadow);
}

.table thead th {
    background: #f6efe6;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: #fbf6f0;
}

.badge.bg-secondary {
    background: #efe5d8 !important;
    color: #5a4a40;
}

.modal-content {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rowIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container .card,
.container .table {
    animation: fadeUp 0.45s ease both;
}

.table tbody tr {
    animation: rowIn 0.35s ease both;
}

.table tbody tr:nth-child(1) { animation-delay: 0.02s; }
.table tbody tr:nth-child(2) { animation-delay: 0.04s; }
.table tbody tr:nth-child(3) { animation-delay: 0.06s; }
.table tbody tr:nth-child(4) { animation-delay: 0.08s; }
.table tbody tr:nth-child(5) { animation-delay: 0.10s; }
.table tbody tr:nth-child(6) { animation-delay: 0.12s; }
.table tbody tr:nth-child(7) { animation-delay: 0.14s; }
.table tbody tr:nth-child(8) { animation-delay: 0.16s; }
