/* Prayer Widget - Compact Design */
.prayer-widget {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: #0f1419;
    border: 2px solid #d4a574;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    width: 160px;
    transition: all 0.3s ease;
}

.prayer-widget.collapsed {
    width: 35px;
    height: 120px;
}

.prayer-header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
}

.prayer-widget.collapsed .prayer-header {
    flex-direction: column;
    padding: 8px 5px;
    border-bottom: none;
}

.prayer-title {
    color: #d4a574;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-family: 'Raleway', sans-serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.prayer-widget:not(.collapsed) .prayer-title {
    writing-mode: horizontal-tb;
    font-size: 12px;
}

.prayer-toggle {
    background: none;
    border: none;
    color: #d4a574;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prayer-content {
    padding: 10px;
    max-height: 400px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.prayer-widget.collapsed .prayer-content {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.prayer-location {
    color: #d4a574;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

.prayer-hijri {
    color: rgba(248, 246, 240, 0.8);
    font-size: 9px;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.prayer-times {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prayer-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    transition: background 0.3s;
}

.prayer-time.next {
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid #d4a574;
}

.prayer-name {
    color: #f8f6f0;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
}

.prayer-hour {
    color: #d4a574;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', monospace;
}

/* Mobile */
@media (max-width: 768px) {
    .prayer-widget {
        width: 130px;
        right: 5px;
        top: 45%;
    }
    
    .prayer-widget.collapsed {
        width: 28px;
        height: 100px;
    }
    
    .prayer-title {
        font-size: 10px;
    }
    
    .prayer-widget:not(.collapsed) .prayer-title {
        font-size: 11px;
    }
    
    .prayer-location {
        font-size: 10px;
    }
    
    .prayer-hijri {
        font-size: 8px;
    }
    
    .prayer-name,
    .prayer-hour {
        font-size: 10px;
    }
    
    .prayer-time {
        padding: 5px 6px;
        gap: 4px;
    }
}
