/* ============================================
   STYLE KEMENTERIAN HAJI DAN UMRAH
   Warna Utama: Emas Gelap (#B8962E)
   Warna Pendukung: Hijau Tua (#1A5C3A)
   ============================================ */

:root {
    --haji-gold: #B8962E;
    --haji-gold-dark: #8A6F1E;
    --haji-gold-light: #D4B85A;
    --haji-gold-gradient: linear-gradient(135deg, #B8962E 0%, #8A6F1E 100%);
    --haji-green: #1A5C3A;
    --haji-green-dark: #0F3D26;
    --haji-green-light: #2A8A5A;
    --haji-cream: #F5F0E6;
    --haji-text-dark: #2C2C2C;
    --haji-text-gold: #B8962E;
}

/* ====== GENERAL ====== */
body {
    background-color: var(--haji-cream);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--haji-text-dark);
}

/* ====== NAVBAR ====== */
.haji-navbar {
    background: linear-gradient(135deg, #B8962E 0%, #6B5518 100%) !important;
    box-shadow: 0 4px 20px rgba(184, 150, 46, 0.3);
    border-bottom: 3px solid var(--haji-gold-dark);
}

.haji-navbar .navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.haji-navbar .navbar-brand i {
    color: #FFD700;
    margin-right: 8px;
}

.haji-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 8px 16px !important;
}

.haji-navbar .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.haji-navbar .nav-link i {
    margin-right: 6px;
}

.haji-navbar .navbar-text {
    color: rgba(255,255,255,0.95) !important;
}

.haji-navbar .badge {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ====== CARDS ====== */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    border: none;
    font-weight: 600;
}

/* ====== BUTTONS ====== */
.btn-primary {
    background: var(--haji-gold-gradient);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 150, 46, 0.4);
    background: linear-gradient(135deg, #C9A84C 0%, #9A7A20 100%);
    color: #ffffff;
}

.btn-success {
    background: linear-gradient(135deg, #1A5C3A 0%, #2A8A5A 100%);
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(26, 92, 58, 0.4);
    color: #ffffff;
}

.btn-verif {
    background: var(--haji-gold-gradient);
    border: none;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verif:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 150, 46, 0.4);
    color: #ffffff;
}

/* ====== BADGES ====== */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ====== ALERTS ====== */
.alert-success {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 2px solid #2A8A5A;
    color: #1A5C3A;
    border-radius: 8px;
}

.alert-info {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border: 2px solid var(--haji-gold);
    color: #5A4A1A;
    border-radius: 8px;
}

.alert-danger {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border: 2px solid #E53935;
    color: #B71C1C;
    border-radius: 8px;
}

/* ====== MODAL ====== */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.modal-header {
    background: var(--haji-gold-gradient) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 16px 24px;
}

.modal-header .modal-title {
    color: #ffffff;
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* ====== TABLES ====== */
.table thead th {
    background: var(--haji-gold-gradient) !important;
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 12px 16px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(184, 150, 46, 0.05);
}

.table-striped tbody tr:hover {
    background-color: rgba(184, 150, 46, 0.12);
}

/* ====== FORMS ====== */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #E8E0D0;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--haji-gold);
    box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.2);
}

.form-label {
    font-weight: 600;
    color: #4A4A4A;
}

.input-group-text {
    background: var(--haji-gold-gradient);
    color: #ffffff;
    border: none;
    border-radius: 8px 0 0 8px;
}

/* ====== DATA TABLES ====== */
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #E8E0D0;
    border-radius: 8px;
    padding: 6px 14px;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--haji-gold);
    box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.2);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--haji-gold-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .btn-primary, .btn-success {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F0E6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--haji-gold-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #C9A84C 0%, #8A6F1E 100%);
}

/* ====== LIST GROUP ====== */
.list-group-item {
    border: none;
    border-bottom: 1px solid #E8E0D0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(184, 150, 46, 0.08);
    transform: translateX(4px);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* ====== DECORATIVE ====== */
.haji-divider {
    height: 3px;
    background: var(--haji-gold-gradient);
    width: 80px;
    margin: 16px auto;
    border-radius: 2px;
}