/* ============================================
   DeenNetwork — Prayer Times Page Styles
   ============================================ */

.pt-section {
    padding: 40px 0 80px;
    background: #f7f7f7;
}

/* ---------- Location Bar ---------- */
.pt-location-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.pt-location-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #121111;
}

.pt-location-icon {
    font-size: 1.2rem;
}

.pt-search-wrap {
    display: flex;
    gap: 8px;
}

.pt-search-input {
    padding: 10px 14px;
    border: 1px solid rgba(18, 17, 17, 0.1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #121111;
    outline: none;
    width: 200px;
    transition: 0.2s;
}

.pt-search-input:focus {
    border-color: #121111;
}

.pt-search-btn,
.pt-locate-btn {
    padding: 10px 16px;
    border: 1px solid rgba(18, 17, 17, 0.1);
    border-radius: 8px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #121111;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pt-search-btn {
    background: #121111;
    color: #fff;
    border-color: #121111;
}

.pt-search-btn:hover {
    background: #333;
}

.pt-locate-btn:hover {
    background: #f0f0f0;
    border-color: #121111;
}

/* ---------- Date Bar ---------- */
.pt-date-bar {
    text-align: center;
    padding: 16px 0;
    margin-bottom: 16px;
}

.pt-hijri {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #121111;
    font-weight: 600;
    margin-bottom: 4px;
}

.pt-gregorian {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

/* ---------- Countdown Banner ---------- */
.pt-countdown-banner {
    background: #121111;
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(18, 17, 17, 0.15);
}

.pt-countdown-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pt-countdown-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.pt-next-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.pt-countdown-timer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pt-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pt-timer-num {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.pt-timer-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pt-timer-sep {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    margin-bottom: 18px;
}

/* ---------- Prayer Cards Grid ---------- */
.pt-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.pt-card {
    background: #fff;
    border: 1px solid rgba(18, 17, 17, 0.06);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pt-card.active {
    background: #121111;
    color: #fff;
    border-color: #121111;
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(18, 17, 17, 0.2);
}

.pt-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pt-card-icon {
    font-size: 1.6rem;
}

.pt-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.pt-card-time {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pt-card.active .pt-card-time {
    color: #fff;
}

.pt-card-desc {
    font-size: 0.72rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-card.active .pt-card-desc {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Weekly Table ---------- */
.pt-weekly {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.pt-weekly-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(18, 17, 17, 0.06);
    color: #121111;
}

.pt-table-wrap {
    overflow-x: auto;
}

.pt-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.pt-table th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    border-bottom: 1px solid rgba(18, 17, 17, 0.06);
}

.pt-table th:first-child {
    text-align: left;
}

.pt-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(18, 17, 17, 0.04);
    color: #333;
}

.pt-table td:first-child {
    text-align: left;
}

.pt-table td small {
    color: #aaa;
    font-size: 0.72rem;
}

.pt-today {
    background: #f9f9f9;
}

.pt-today td {
    font-weight: 600;
    color: #121111;
}

/* ---------- Method Bar ---------- */
.pt-method-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #888;
}

.pt-method-bar select {
    padding: 8px 12px;
    border: 1px solid rgba(18, 17, 17, 0.1);
    border-radius: 8px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #121111;
    outline: none;
    cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pt-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pt-countdown-inner {
        flex-direction: column;
        text-align: center;
    }

    .pt-countdown-label {
        align-items: center;
    }

    .pt-timer-num {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .pt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-location-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .pt-search-wrap {
        width: 100%;
    }

    .pt-search-input {
        flex: 1;
        width: auto;
    }

    .pt-countdown-banner {
        padding: 24px 20px;
    }

    .pt-timer-num {
        font-size: 1.8rem;
        min-width: 45px;
    }

    .pt-next-name {
        font-size: 1.5rem;
    }

    .pt-method-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pt-section {
        padding: 24px 0 60px;
    }
}