/* ============================================
   JADWAL SHOLAT BULANAN - PROFESSIONAL STYLING
   International Standard Design
   ============================================ */

/* Container - Override default background */
.prayer-schedule-container {
    padding: 1.5rem 0.5rem;
    background: transparent !important;
}

/* Header */
.schedule-header {
    margin-bottom: 1.5rem;
}

.brand-logo {
    font-size: 2.5rem;
    color: #667eea;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Islamic Title Border */
.islamic-title-border {
    position: relative;
    padding: 0.5rem 1rem;
    border: 3px solid #48bb78;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(56, 161, 105, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.2);
    display: inline-block;
    margin: 0 auto;
}

.schedule-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.schedule-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: #718096;
    font-weight: 500;
    margin-bottom: 0;
}

/* Table Styling */
.table-responsive {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.prayer-schedule-table {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.prayer-schedule-table thead {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.prayer-schedule-table thead th {
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: center;
    border: none;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
}

/* Base Row Styles */
.prayer-schedule-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #cbd5e0;
}

.prayer-schedule-table tbody tr:last-child {
    border-bottom: 1px solid #cbd5e0;
}

/* Table borders */
.prayer-schedule-table {
    border-collapse: collapse;
    border: 1px solid #cbd5e0;
}

.prayer-schedule-table thead th {
    border: 1px solid #cbd5e0;
}

.prayer-schedule-table tbody td {
    padding: 0.875rem 0.75rem;
    text-align: center;
    vertical-align: middle;
    color: #2d3748;
    border: 1px solid #cbd5e0;
}

/* Column Widths */
.col-date {
    width: 15%;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.85rem;
}

.col-day {
    width: 10%;
    font-weight: 500;
    color: #4a5568;
}

.col-time {
    width: 13.33%;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

/* Friday Highlight - Override zebra striping with higher specificity */
.prayer-schedule-table tbody tr.friday-row {
    background-color: #d4f4dd !important;
    background-image: linear-gradient(90deg, #d4f4dd 0%, #c3f0d3 100%) !important;
}

.prayer-schedule-table tbody tr.friday-row:hover {
    background-color: #c3f0d3 !important;
    background-image: linear-gradient(90deg, #c3f0d3 0%, #b2e6c3 100%) !important;
    transform: scale(1.01);
}

.friday-row .col-day {
    color: #22543d;
    font-weight: 700;
}

/* Error Row */
.error-row {
    background-color: #fff5f5;
    opacity: 0.7;
}

.error-row .col-time {
    color: #e53e3e;
}

/* Footer Info */
.schedule-footer {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card {
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    height: 100%;
}

.info-card h6 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-list li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 0.5em;
}

.friday-indicator {
    display: flex;
    align-items: center;
    color: #22543d !important;
    font-weight: 600;
}

.friday-indicator i {
    color: #48bb78;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prayer-schedule-container {
        padding: 1rem 0.25rem;
    }

    .schedule-title {
        font-size: 1.1rem;
    }

    .schedule-subtitle {
        font-size: 0.8rem;
    }

    .prayer-schedule-table {
        font-size: 0.75rem;
    }

    .prayer-schedule-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }

    .prayer-schedule-table tbody td {
        padding: 0.5rem 0.25rem;
    }

    .col-date {
        font-size: 0.65rem;
        width: 18%;
    }

    .col-time {
        font-size: 0.8rem;
    }

    .info-card {
        padding: 1rem;
    }

    .schedule-footer {
        padding: 1rem;
    }
    
    .brand-logo {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .prayer-schedule-table {
        font-size: 0.7rem;
    }

    .prayer-schedule-table thead th {
        padding: 0.4rem 0.2rem;
        font-size: 0.65rem;
    }

    .prayer-schedule-table tbody td {
        padding: 0.4rem 0.2rem;
    }

    .col-date {
        font-size: 0.6rem;
        width: 20%;
    }

    .col-time {
        font-size: 0.75rem;
    }

    .brand-logo {
        font-size: 1.75rem;
    }
    
    .schedule-title {
        font-size: 1rem;
    }
    
    .schedule-subtitle {
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .prayer-schedule-container {
        background: white;
        padding: 0;
    }

    .btn, .navbar, .footer {
        display: none !important;
    }

    .table-responsive {
        box-shadow: none;
    }

    .prayer-schedule-table {
        font-size: 10pt;
    }

    .friday-row {
        background: #e6f7e6 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .schedule-footer {
        box-shadow: none;
        page-break-inside: avoid;
    }
}
