/* Styles for the Islamic Prayer Times Widget (New UI) */

#prayer-times-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px auto;
}

.prayer-times-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #198754;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* --- New Header Styles --- */
.prayer-heading, .prayer-date, .prayer-location {
    color: #fff;
    text-align: center;
}

.prayer-heading {
    margin: 10px;
    font-size: 30px;
}

.prayer-date {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 5px;
}

.prayer-location {
    font-size: 1em;
    align-items: center;
    gap: 5px;
}

.prayer-location svg {
    fill: #7f8c8d;
}

/* --- New Grid and Card Styles --- */
#prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.prayer-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
}

.prayer-card .prayer-icon {
    font-size: 40px; /* Adjust size as needed */
    line-height: 1;
    margin-bottom: 10px;
}

.prayer-card .prayer-name {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #34495e;
    font-size: 1em;
}

.prayer-card .prayer-time {
    margin: 0;
    font-size: 1.75em;
    font-weight: 700;
    color: #4a4a4a; /* A softer color than pure black */
}

/* --- Footer Credit --- */
.prayer-api-credit {
    margin-top: 25px;
    font-size: 12px;
    color: #95a5a6;
    text-align: center;
}

.prayer-api-credit a { color: #3498db; text-decoration: none; }
.prayer-api-credit a:hover { text-decoration: underline; }

/* --- Responsive Styles for Mobile --- */
@media (max-width: 600px) {
    #prayer-times-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 5px;
    }
    
    .prayer-times-container {
        padding: 10px 5px;
    }
    
    .prayer-heading {
        font-size: 20px;
    }

    .prayer-card .prayer-time {
        font-size: 1.5em;
    }
    #monthly-chart-container {
        padding: 5px;
    }
}

/* --- Monthly Chart Styles (from previous version) --- */
#monthly-chart-container { max-width: 800px; margin: 40px auto 0 auto; background-color: #198754; padding: 15px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.monthly-chart-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#monthly-chart-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    min-width: 750px;
    background-color: #f0f0f0;
    border: 1px solid #fff;
}
#monthly-chart-container th, #monthly-chart-container td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ecf0f1; }
#monthly-chart-container th { background-color: #f9fafb; font-weight: 600; color: #34495e; }
#monthly-chart-container tbody tr:nth-child(even) { background-color: #fdfdfd; }
#monthly-chart-container tbody tr.today-row { background-color: #198754; color: #fff; font-weight: bold; }

