/* ==========================================
   HOME PAGES - CENTRALIZED STYLES
   Today, Index, Changes, etc.
   ========================================== */

/* IMPORTANT: Override global styles from site.css and main.css */

/* ==========================================
   PAGE STRUCTURE - FORCE OVERRIDE
   ========================================== */

.home-page-wrapper {
    background: #f8f9fa !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.home-page-wrapper * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Override any gradient text effects */
.home-page-wrapper h2,
.home-page-wrapper h4,
.home-page-wrapper h5 {
    text-shadow: none !important;
}

/* ==========================================
   CLOCK & TIMER STYLES
   ========================================== */

#brunei-clock {
    color: #0d6efd !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    text-shadow: 0 0 8px rgba(13, 110, 253, 0.3) !important;
    letter-spacing: 2px !important;
    margin-bottom: 0 !important;
}

#next-prayer-timer {
    color: #0d6efd !important;
    font-size: 1.25rem !important;
    margin-top: 0 !important;
}

#timelapse-after-current {
    color: #6c757d !important;
    font-size: 1rem !important;
    margin-top: 0 !important;
}

/* ==========================================
   PRAYER CARD - MODERN DESIGN
   ========================================== */

.prayer-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(13, 110, 253, 0.1) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
    max-width: 100% !important;
}

.prayer-card-modern:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.prayer-card-responsive {
    max-width: 100% !important;
    width: 100% !important;
}

.prayer-card-modern .card-body {
    padding: 1.5rem !important;
}

/* Ensure countdown card container also fills width */
.col-12.col-md-8.col-lg-6 {
    width: 100% !important;
}

/* ==========================================
   GRADIENT TEXT
   ========================================== */

.gradient-text {
    background: linear-gradient(90deg, #0d6efd 30%, #6f42c1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
}

/* ==========================================
   TIMER CARDS - COUNTDOWN
   ========================================== */

.timer-card {
    background: #fff !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1) !important;
    padding: 1rem 1.25rem !important;
    margin: 0 0.25rem !important;
    min-width: 70px !important;
    text-align: center !important;
}

.timer-value {
    color: #0d6efd !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

.timer-label {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    margin-top: 0.25rem !important;
}

#next-prayer-timer-cards {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* ==========================================
   PRAYER LIST ITEMS
   ========================================== */

.list-group-item {
    padding: 0.5rem 1rem !important;
    font-size: 2.625rem !important;  /* 1.75rem * 1.5 = 2.625rem (+50%) */
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: background 0.2s !important;
    color: #212529 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 90% !important;
    margin: 0 auto !important;
}

.list-group-item:hover {
    background-color: rgba(13, 110, 253, 0.03) !important;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

/* Prayer name styling */
.list-group-item {
    font-weight: 600 !important;
}

/* Prayer time styling - 50% increase */
.list-group-item .fw-bold {
    font-size: 3rem !important;  /* 2rem * 1.5 = 3rem (+50%) */
    font-weight: 700 !important;
    color: #0d6efd !important;
}

/* Current prayer highlight */
.prayer-now {
    background: linear-gradient(90deg, #e3f0ff 0%, #cfe4ff 100%) !important;
    font-weight: 600 !important;
    color: #0d6efd !important;
    border-left: 4px solid #0d6efd !important;
    border-radius: 0.5rem !important;
    padding-left: 1.25rem !important;
}

.prayer-now .fw-bold {
    font-size: 3.375rem !important;  /* 2.25rem * 1.5 = 3.375rem (+50%) */
    font-weight: 800 !important;
}

/* Minimize list group padding */
.list-group-flush {
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================
   ALERT STYLES - HOLIDAY INFO (DEPRECATED - Use holiday-card instead)
   ========================================== */

.alert-success {
    background: linear-gradient(90deg, #e0ffe6 0%, #f8fafc 100%) !important;
    border-radius: 0.75rem !important;
    border: 1px solid #d4edda !important;
    color: #155724 !important;
    text-shadow: none !important;
}

.alert-warning {
    background: linear-gradient(90deg, #fffbe6 0%, #f8fafc 100%) !important;
    border-radius: 0.75rem !important;
    border: 1px solid #fff3cd !important;
    color: #856404 !important;
    text-shadow: none !important;
}

/* ==========================================
   HOLIDAY CARDS - MODERN DESIGN
   ========================================== */

.holiday-card {
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 100% !important;
}

.holiday-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Today's Holiday - Green Theme */
.holiday-card-today {
    border-left: 4px solid #10b981 !important;
}

.holiday-card-today .holiday-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.holiday-card-today .holiday-card-footer {
    background: linear-gradient(to right, rgba(236, 253, 245, 0.5) 0%, rgba(240, 253, 244, 0.5) 100%) !important;
    color: #047857 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.1) !important;
}

/* Tomorrow's Holiday - Amber Theme */
.holiday-card-tomorrow {
    border-left: 4px solid #f59e0b !important;
}

.holiday-card-tomorrow .holiday-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}

.holiday-card-tomorrow .holiday-card-footer {
    background: linear-gradient(to right, rgba(255, 251, 235, 0.5) 0%, rgba(254, 243, 199, 0.5) 100%) !important;
    color: #92400e !important;
    border-top: 1px solid rgba(245, 158, 11, 0.1) !important;
}

/* Holiday Card Header */
.holiday-card-header {
    padding: 1rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.4) 100%) !important;
}

.holiday-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.4rem !important;
    color: #fff !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.holiday-icon::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 12px !important;
    background: inherit !important;
    opacity: 0.1 !important;
    transform: scale(1.2) !important;
    z-index: -1 !important;
}

.holiday-title h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.25rem 0 !important;
    color: #111827 !important;
    text-shadow: none !important;
    letter-spacing: -0.01em !important;
}

.holiday-title small {
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
}

/* Holiday Card Body */
.holiday-card-body {
    padding: 0.875rem 1.25rem !important;
}

.holiday-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.2s ease !important;
}

.holiday-item:hover {
    background-color: rgba(0, 0, 0, 0.01) !important;
    border-radius: 0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
}

.holiday-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.holiday-item-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    color: #0369a1 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(3, 105, 161, 0.1) !important;
}

.holiday-item-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.holiday-name {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 0.375rem !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
}

.holiday-description {
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

.holiday-description div {
    margin-bottom: 0.25rem !important;
}

.holiday-description div:last-child {
    margin-bottom: 0 !important;
}

.holiday-creator {
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.holiday-creator small {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
}

.holiday-creator strong {
    color: #374151 !important;
    font-weight: 600 !important;
}

.holiday-badge {
    display: inline-block !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 9999px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.badge-public,
.badge-cuti-umum {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    color: #1e40af !important;
}

.badge-national,
.badge-kebangsaan {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #92400e !important;
}

.badge-religious,
.badge-agama {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #065f46 !important;
}

.badge-project,
.badge-projek {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%) !important;
    color: #3730a3 !important;
}

/* Holiday Card Footer */
.holiday-card-footer {
    padding: 0.75rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}

.holiday-card-footer i {
    font-size: 0.875rem !important;
    opacity: 0.8 !important;
}

/* ==========================================
   HOLIDAY CARDS - RESPONSIVE
   ========================================== */

@media (max-width: 991.98px) {
    .holiday-card-header {
        padding: 1.25rem 1.25rem 0.875rem 1.25rem !important;
    }

    .holiday-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.35rem !important;
    }

    .holiday-title h5 {
        font-size: 1.15rem !important;
    }

    .holiday-card-body {
        padding: 1rem 1.25rem !important;
    }

    .holiday-name {
        font-size: 1rem !important;
    }

    .holiday-description {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 767.98px) {
    .holiday-card {
        margin-bottom: 1rem !important;
    }

    .holiday-card-header {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }

    .holiday-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
    }

    .holiday-title h5 {
        font-size: 1.05rem !important;
    }

    .holiday-title small {
        font-size: 0.8rem !important;
    }

    .holiday-card-body {
        padding: 0.875rem 1rem !important;
    }

    .holiday-item {
        gap: 0.75rem !important;
        padding: 0.75rem 0 !important;
    }

    .holiday-item-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }

    .holiday-name {
        font-size: 0.95rem !important;
    }

    .holiday-description {
        font-size: 0.8rem !important;
    }

    .holiday-badge {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.6rem !important;
    }

    .holiday-card-footer {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ==========================================
   TIPS CARD - COLLAPSIBLE
   ========================================== */

#todayTipsCard {
    border-radius: 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    background: #fff !important;
    margin-top: 1.5rem !important;
}

#todayTipsCard .card-header {
    background: #fff !important;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0.875rem 1.25rem !important;
}

.tips-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.3rem !important;
    height: 1.3rem !important;
    border-radius: 50% !important;
    background: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

#todayTipsCard .card-header h6 {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

#todayTipsToggleBtn {
    border-radius: 0.4rem !important;
    font-size: 0.85rem !important;
    padding: 0.35rem 0.7rem !important;
}

#todayTipsCard .card-body {
    padding: 1rem 1.25rem !important;
}

#todayTipsCard .card-body ul {
    margin-bottom: 0.5rem !important;
    padding-left: 1.25rem !important;
}

#todayTipsCard .card-body li {
    margin-bottom: 0.4rem !important;
    font-size: 0.9rem !important;
}

#todayTipsCard .card-body li:last-child {
    margin-bottom: 0 !important;
}

/* ==========================================
   OVERRIDE GLOBAL STYLES
   ========================================== */

/* Override button styles */
.btn-outline-primary {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
    background: transparent !important;
    text-shadow: none !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* Ensure clean backgrounds */
.container,
.row,
.col {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* iPad and tablet container adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .col-12.col-md-8.col-lg-6 {
        max-width: 100% !important;
    }
}

/* ==========================================
   BEAUTIFUL HOLIDAY CARDS - CENTERED LAYOUT
   ========================================== */

/* Holiday Card Header - Date Display */
.holiday-glass-card .card-header {
    background: transparent !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
    padding: 1.25rem 1.5rem 0.75rem !important;
}

.holiday-glass-card .card-header h6 {
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Holiday Icon Wrapper - Large, Vibrant and Centered */
.holiday-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulseGlow 2s ease-in-out infinite !important;
}

.holiday-icon-wrapper-tomorrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulseGlow 2s ease-in-out infinite !important;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    }
    50% {
        box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6), 0 0 0 6px rgba(59, 130, 246, 0.15) !important;
    }
}

.holiday-icon-wrapper:hover,
.holiday-icon-wrapper-tomorrow:hover {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6), 0 0 0 6px rgba(59, 130, 246, 0.2) !important;
}

.holiday-icon-wrapper i,
.holiday-icon-wrapper-tomorrow i {
    font-size: 2.5rem !important;
    color: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transition: all 0.3s ease !important;
}

.holiday-icon-wrapper:hover i,
.holiday-icon-wrapper-tomorrow:hover i {
    transform: scale(1.15) !important;
}

/* Modern Category Pills - High Contrast */
.category-pill-modern {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.3px !important;
}

.category-pill-modern:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

.category-pill-modern i {
    font-size: 0.85rem !important;
    filter: none !important;
}

/* Status Badges - Vibrant Colors */
.status-badge-today {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.3px !important;
}

.status-badge-today:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6) !important;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}

.status-badge-today i {
    filter: none !important;
}

.status-badge-tomorrow {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.3px !important;
}

.status-badge-tomorrow:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.status-badge-tomorrow i {
    filter: none !important;
}

/* Creator Badge - Elegant Design with Good Contrast */
.creator-badge-modern {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 2rem !important;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 3px 10px rgba(100, 116, 139, 0.3) !important;
    transition: all 0.3s ease !important;
}

.creator-badge-modern i {
    font-size: 1.1rem !important;
    filter: none !important;
}

.creator-badge-modern:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(100, 116, 139, 0.4) !important;
}

/* Source Badges - High Contrast Color Coded */
.source-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 2rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.5px !important;
}

.source-badge:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s ease !important;
}

.source-badge:hover:before {
    left: 100% !important;
}

.source-badge:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.source-badge i {
    font-size: 1rem !important;
    filter: none !important;
}

/* System Badge - Bold Blue */
.source-badge-system {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
}

.source-badge-system:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6) !important;
}

/* User Badge - Bold Green */
.source-badge-user {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4) !important;
}

.source-badge-user:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.6) !important;
}

/* Other Users Badge - Bold Orange */
.source-badge-other {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4) !important;
}

.source-badge-other:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.6) !important;
}
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col-12.col-md-8.col-lg-6.d-flex {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Mobile container adjustments */
@media (max-width: 767.98px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Set font size for prayer names and times */
.list-group-item,
.list-group-item .fw-bold {
    font-size: 30px !important;
}
