/* ===========================================
   Prayer Times Calculator - Tool Specific Styles (Royal Blue/Alabaster Theme)
   =========================================== */

/* Tool Layout */
.ptc-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* --- Location & Clock Display --- */
.ptc-header-display {
    background: #e0f2f7; /* Pale Blue BG */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#locationDisplay {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a; /* Deep Blue Text */
    margin-bottom: 10px;
}

#currentClock {
    font-size: 4rem;
    font-weight: 900;
    color: #0077b6; /* Royal Blue */
    line-height: 1.1;
    font-family: 'Arial', monospace;
    letter-spacing: 2px;
}

/* --- Prayer Times Table --- */
.ptc-schedule-container {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px 10px;
    margin-top: 30px;
}

.ptc-schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* Space between rows */
    font-size: 1.1rem;
}

.ptc-schedule-table tbody tr {
    transition: background-color 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

.ptc-schedule-table th, .ptc-schedule-table td {
    padding: 15px 10px;
    text-align: center;
}

.ptc-schedule-table th {
    background: #1e3a8a; /* Dark Header BG */
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid white;
}

/* Prayer Name Column */
.ptc-prayer-name {
    font-weight: 600;
    color: #1e3a8a;
    text-align: left !important;
    padding-left: 20px !important;
    font-size: 1.2rem;
}

/* Prayer Time Value */
.ptc-time-value {
    font-weight: 800;
    color: #0077b6;
    font-size: 1.3rem;
}

/* Highlight for the Current Prayer */
.ptc-highlight {
    background-color: #fce8a8 !important; /* Gold/Yellow Highlight */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
    font-weight: 900;
}
.ptc-highlight .ptc-prayer-name, .ptc-highlight .ptc-time-value {
    color: #9c27b0; /* Deep Purple text for emphasis */
}

/* Geolocation Error/Status */
#statusMessage {
    margin-top: 20px;
    padding: 15px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #currentClock {
        font-size: 3rem;
    }
    #locationDisplay {
        font-size: 1rem;
    }
    .ptc-schedule-table th, .ptc-schedule-table td {
        padding: 10px 5px;
    }
    .ptc-prayer-name {
        padding-left: 10px !important;
        font-size: 1.1rem;
    }
    .ptc-time-value {
        font-size: 1.2rem;
    }
}