/* =====================================================
   STYLE.CSS - Jadwal Pendeta Application Styles
   ===================================================== */

/* ---- Global ---- */
body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

/* ---- Navbar ---- */
.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* ---- Stat Cards ---- */
.stat-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.stat-primary .stat-icon { color: #0d6efd; }
.stat-success .stat-icon { color: #198754; }
.stat-info .stat-icon { color: #0dcaf0; }
.stat-warning .stat-icon { color: #ffc107; }

.stat-card h3 {
    font-size: 2rem;
    line-height: 1;
}

/* ---- Card ---- */
.card {
    border-radius: 10px;
    border: none;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ---- Table ---- */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

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

/* ---- Buttons ---- */
.btn-hapus {
    transition: transform 0.15s;
}

.btn-hapus:hover {
    transform: scale(1.1);
}

.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
}

/* ---- Modal ---- */
.modal-content {
    border: none;
    border-radius: 12px;
}

.modal-header {
    border-radius: 12px 12px 0 0;
}

/* ---- Badge Waktu ---- */
.badge {
    font-weight: 500;
}

/* ---- Form ---- */
.form-label {
    font-size: 0.9rem;
}

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

/* ---- Filter Card ---- */
.filter-active {
    background-color: #e7f1ff;
    border-color: #0d6efd;
}

/* ---- Alert Animation ---- */
.alert {
    border-radius: 10px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Sidebar Notification Cards ---- */
.border-start {
    border-left-width: 4px !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .stat-card h3 {
        font-size: 1.5rem;
    }

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

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .btn-group-sm .btn {
        padding: 0.25rem 0.5rem;
    }
}

/* ---- Pagination ---- */
.page-link {
    border-radius: 6px;
    margin: 0 2px;
    font-size: 0.85rem;
}

/* ---- Quick Action Buttons ---- */
.d-grid .btn {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 8px 12px;
    text-align: left;
}

.d-grid .btn i {
    width: 18px;
    text-align: center;
}

/* ---- Footer ---- */
footer {
    font-size: 0.85rem;
    background-color: #fff;
}

/* ---- Scrollbar ---- */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
