/*======================================
   Waktu Solat Widget CSS
   Prayer Time Widget Styles for Bold Theme
========================================*/

/* Main Section */
.solat-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #198c7e 0%, #0a525d 100%);
    color: #fff;
    text-align: center;
}

.solat-section .welcome_heading h2 {
    color: #fdc02d;
    font-size: 24px;
    font-weight: bolder;
    text-transform: uppercase;
}

.solat-section .welcome_heading h2:after {
    background: rgba(255,255,255,0.5);
}

.solat-location {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: 400;
}

/* Prayer Times Wrapper */
.solat-times-wrapper {
    margin-top: 20px;
}

.solat-times-wrapper .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -10px;
}

.solat-times-wrapper .solat-col {
    flex: auto;
    max-width: 20%;
    padding: 0 10px;
    margin-bottom: 10px;
}

/* Prayer Card */
.solat-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
}

.solat-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Prayer Icon */
.solat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffd700;
}

.solat-icon i {
    display: inline-block;
}

/* Prayer Name */
.solat-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

/* Prayer Time */
.solat-time {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* Responsive Styles */

/* Tablets */
@media (max-width: 991px) {
    .solat-times-wrapper .solat-col {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    
    .solat-section .welcome_heading h2 {
        font-size: 28px;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 767px) {
    .solat-section {
        padding: 40px 0;
    }
    
    .solat-times-wrapper .solat-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .solat-section .welcome_heading h2 {
        font-size: 24px;
    }
    
    .solat-card {
        padding: 20px 10px;
    }
    
    .solat-icon {
        font-size: 28px;
    }
    
    .solat-time {
        font-size: 18px;
    }
    
    .solat-name {
        font-size: 12px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .solat-section {
        padding: 30px 0;
    }
    
    .solat-times-wrapper .solat-col {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    
    .solat-section .welcome_heading h2 {
        font-size: 18px;
        padding-bottom: -10px;
    }
    
    .solat-location {
        font-size: 12px;
        margin-bottom: 0px;
    }
    
    .solat-card {
        padding: 0px 8px;
        border-radius: 10px;
    }
    
    .solat-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .solat-time {
        font-size: 16px;
    }
    
    .solat-name {
        font-size: 11px;
        margin-bottom: 5px;
    }
}

/* Extra small devices - force 2 columns with 5th item centered */
@media (max-width: 360px) {
    .solat-card {
        padding: 12px 5px;
    }
    
    .solat-icon {
        font-size: 20px;
    }
    
    .solat-time {
        font-size: 14px;
    }
}
