
:root {
    --primary-red: #b91c1c;
    --dark-red: #7f1d1d;
    --light-pink: #fff5f5;
    --soft-pink: #fff1f2;
    --border-pink: #fecaca;
    --text-dark: #3f1d1d;
}

body {
    background: var(--light-pink);
    color: var(--text-dark);
    min-height: 100vh;
}

.topbar {
    background: linear-gradient(90deg, #991b1b, #dc2626);
    box-shadow: 0 4px 18px rgba(153, 27, 27, 0.12);
}

.navbar-brand {
    letter-spacing: 0.1px;
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 5px 24px rgba(127, 29, 29, 0.07);
    overflow: hidden;
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #fee2e2;
    font-weight: 700;
}

.hero {
    background: linear-gradient(120deg, #b91c1c, #ef4444);
    color: #ffffff;
    border-radius: 22px;
    padding: 28px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

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

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

.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    border-color: var(--border-pink);
}

.form-control:focus,
.form-select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.12);
}

.table {
    vertical-align: middle;
}

.table thead th {
    background: var(--soft-pink);
    color: var(--dark-red);
    font-size: 0.88rem;
    white-space: nowrap;
}

.badge {
    font-weight: 600;
}

.footer {
    color: #9f7373;
}

.auth-wrap {
    max-width: 500px;
    margin: 2rem auto;
}

.section-title {
    font-weight: 800;
    color: #991b1b;
}

.beasiswa-card {
    height: 100%;
    transition: transform 0.15s ease,
                box-shadow 0.15s ease;
}

.beasiswa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(127, 29, 29, 0.12);
}

a {
    color: var(--primary-red);
}

a:hover {
    color: var(--dark-red);
}

@media (max-width: 575px) {
    main.container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        padding: 22px;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Menghilangkan warna biru Bootstrap */
:root {
    --bs-primary: #b91c1c;
    --bs-primary-rgb: 185, 28, 28;
    --bs-link-color: #b91c1c;
    --bs-link-hover-color: #7f1d1d;
}

/* Semua tombol primary */
.btn-primary,
.btn-primary:focus {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
}

/* Tombol putih di bagian hero */
.hero .btn,
.hero .btn-light {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #b91c1c !important;
}

.hero .btn:hover,
.hero .btn-light:hover {
    background-color: #fee2e2 !important;
    border-color: #fee2e2 !important;
    color: #7f1d1d !important;
}

/* Semua link */
a,
.link-primary {
    color: #b91c1c !important;
}

a:hover,
.link-primary:hover {
    color: #7f1d1d !important;
}

/* Tombol outline */
.btn-outline-primary {
    color: #b91c1c !important;
    border-color: #b91c1c !important;
}

.btn-outline-primary:hover {
    background-color: #b91c1c !important;
    color: #ffffff !important;
}

/* Fokus input */
.form-control:focus,
.form-select:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15) !important;
}

/* Menghilangkan warna biru Bootstrap */
:root {
    --bs-primary: #b91c1c;
    --bs-primary-rgb: 185, 28, 28;
    --bs-link-color: #b91c1c;
    --bs-link-hover-color: #7f1d1d;
}

/* Semua tombol primary */
.btn-primary,
.btn-primary:focus {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
}

/* Tombol putih di bagian hero */
.hero .btn,
.hero .btn-light {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #b91c1c !important;
}

.hero .btn:hover,
.hero .btn-light:hover {
    background-color: #fee2e2 !important;
    border-color: #fee2e2 !important;
    color: #7f1d1d !important;
}

/* Semua link */
a,
.link-primary {
    color: #b91c1c !important;
}

a:hover,
.link-primary:hover {
    color: #7f1d1d !important;
}

/* Tombol outline */
.btn-outline-primary {
    color: #b91c1c !important;
    border-color: #b91c1c !important;
}

.btn-outline-primary:hover {
    background-color: #b91c1c !important;
    color: #ffffff !important;
}

/* Fokus input */
.form-control:focus,
.form-select:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15) !important;
}

/* Paksa semua teks navbar menjadi putih */
.topbar .navbar-brand,
.topbar .navbar-nav .nav-link,
.topbar .navbar-nav .nav-link.active,
.topbar .navbar-nav .nav-link:hover,
.topbar a,
.topbar .navbar-text,
.topbar .dropdown-toggle,
.topbar .dropdown-item {
    color: #ffffff !important;
}

/* Jika menu menggunakan class Bootstrap text-primary */
.topbar .text-primary {
    color: #ffffff !important;
}

/* Jika Dashboard menggunakan class active */
.topbar .active,
.topbar .active a {
    color: #ffffff !important;
}

/* Tombol Keluar */
.topbar .btn-light,
.topbar .btn-outline-light {
    background-color: #b91c1c !important;
    border: 1px solid #b91c1c !important;
    color: #ffffff !important;
}

.topbar .btn-light:hover,
.topbar .btn-outline-light:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
}
