/* ===== Prayer Times Widget ===== */
body.prayer-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.prayer-widget {
    background: linear-gradient(135deg, #1a3a4a 0%, #0d2533 100%);
    border-radius: 16px;
    padding: 17px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.prayer-widget .widget-header {
    text-align: center;
    margin-bottom: 20px;
}

.prayer-widget .widget-header h2 {
    font-size: 20px;
    color: #4fc3f7;
    margin-bottom: 5px;
}

.prayer-widget .widget-header .source {
    font-size: 12px;
    color: #78909c;
}

.prayer-widget .widget-header .date {
    font-size: 13px;
    color: #90a4ae;
    margin-top: 5px;
}

.prayer-widget .prayer-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.prayer-widget .prayer-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 5px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prayer-widget .prayer-item.next-prayer {
    background: rgba(79, 195, 247, 0.2);
    border-color: #4fc3f7;
}

.prayer-widget .prayer-item .prayer-name {
    font-size: 12px;
    color: #90a4ae;
}

.prayer-widget .prayer-item .prayer-time {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.prayer-widget .prayer-item.next-prayer .prayer-name {
    color: #4fc3f7;
}

.prayer-widget .prayer-item.next-prayer .prayer-time {
    color: #4fc3f7;
}

.prayer-widget .hadith-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border-right: 3px solid #4fc3f7;
}

.prayer-widget .hadith-section .hadith-title {
    font-size: 14px;
    color: #4fc3f7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prayer-widget .hadith-section .hadith-text {
    font-size: 14px;
    line-height: 1.8;
    color: #cfd8dc;
    text-align: justify;
}

.prayer-widget .hadith-section .hadith-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prayer-widget .hadith-section .hadith-toggle {
    display: inline-block;
    margin-top: 8px;
    color: #4fc3f7;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
}

.prayer-widget .hadith-section .hadith-toggle:hover {
    text-decoration: underline;
}

.prayer-widget .loading {
    text-align: center;
    padding: 40px;
    color: #78909c;
}

.prayer-widget .error {
    text-align: center;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    color: #ef5350;
}

@media (max-width: 400px) {
    .prayer-widget .prayer-times {
        grid-template-columns: repeat(2, 1fr);
    }
}
