/* DNKSUP UI Theme */
:root {
    --dnksup-primary: #0d6efd;
    --dnksup-dark: #0b5ed7;
    --dnksup-secondary: #212529;
    --dnksup-muted: #6c757d;
    --dnksup-bg: #f4f7fb;
    --dnksup-surface: #ffffff;
    --dnksup-border: #dee2e6;
    --dnksup-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    color: var(--dnksup-secondary);
    font-family: "Inter", "Segoe UI", sans-serif;
    min-height: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
.nav-link:hover {
    color: var(--dnksup-primary);
    opacity: 0.85;
}

.navbar {
    background: #0b5ed7 !important;
}

.navbar-brand {
    letter-spacing: 0.04em;
    font-size: 1.35rem;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
}

.container-fluid,
.container {
    max-width: 1180px;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(13, 110, 253, .95) 0%, rgba(13, 110, 253, .80) 100%);
    color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: var(--dnksup-shadow);
}

.hero-banner h1,
.hero-banner h2,
.hero-banner h3 {
    color: #fff;
}

.hero-banner p.lead {
    color: rgba(255, 255, 255, 0.85);
}

.btn-primary,
.btn-success {
    border-radius: 0.75rem;
    padding: 0.95rem 1.6rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--dnksup-primary);
    border-color: var(--dnksup-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0a58ca;
    border-color: #0a58ca;
}

.btn-success {
    background: #198754;
    border-color: #198754;
}

.btn-success:hover,
.btn-success:focus {
    background: #157347;
    border-color: #157347;
}

.card,
.table-responsive,
.table {
    border-radius: 1rem;
    box-shadow: var(--dnksup-shadow);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.card {
    border: none;
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
    font-weight: 700;
}

.card-body {
    padding: 1.75rem;
}

.section-heading {
    margin-bottom: 1.75rem;
}

.section-heading h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.section-heading p {
    color: var(--dnksup-muted);
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border: 1px solid var(--dnksup-border);
    height: calc(2.5rem + 1px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dnksup-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-label {
    font-weight: 600;
}

.table thead th {
    border-bottom: 2px solid rgba(13, 110, 253, 0.12);
}

.table tbody tr:hover {
    background: rgba(13, 110, 253, 0.04);
}

.alert {
    border-radius: 0.85rem;
    box-shadow: var(--dnksup-shadow);
}

footer {
    background: #ffffff;
    border-top: 1px solid rgba(13, 110, 253, 0.08);
}

footer .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer p,
footer small,
footer div {
    color: var(--dnksup-muted);
}

.text-primary,
.text-primary a {
    color: var(--dnksup-primary) !important;
}

.bg-light {
    background: #f8fafc !important;
}

.card-flush {
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 2rem 1.25rem;
    }

    .navbar-brand {
        font-size: 1.15rem;
    }
}
