/*!
 * @package Muslim Prayer Time BD - v3.0.2 - 4 March, 2025
 * @link https://www.realwebcare.com/
 */
/* Container for the entire prayer time section */
.muslim_prayer_time {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.muslim_prayer_time img {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    max-width: 100%;
    border: 0;
}

.muslim_prayer_time .mptbd_timetable {
    position: relative;
}

/* City selection dropdown */
.muslim_prayer_time .city_selection {
    position: absolute;
    top: -62px;
    left: 10px;
    margin: 0;
    padding: 0;
    width: calc(100% - 20px);
}
/* If image is not available */
.muslim_prayer_time .mptbd_timetable.mptbd-noimg .city_selection {
    position: relative;
    top: 15px;
    left: 15px;
    margin-bottom: 15px;
    width: calc(100% - 30px);
}

.muslim_prayer_time .city_selection select {
    width: 100%;
    padding: 10px;
    box-shadow: inset 0px 0px 2px 0px rgba(51, 51, 51, 0.25);
    border-color: transparent;
    border-radius: 8px;
    background-color: #f1f3f5;
    font-size: 15px;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    /* padding-right: 35px; */ /* Space for the icon */
}

.muslim_prayer_time .city_selection .dropdown-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #333;
    width: 24px;
    fill: #666666;
}

.muslim_prayer_time .city_selection select:focus {
    outline: none;
    border-color: #ddd;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

/* Prayer time container */
.muslim_prayer_time .mptbd-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Ramadan time container */
.muslim_prayer_time .mptbd-container .sehri_time,
.muslim_prayer_time .mptbd-container .iftar_time {
    grid-column: 1 / -1; /* Span across all columns */
    display: block;
    width: 100%;
    padding: 15px;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.muslim_prayer_time .mptbd-container .sehri_time {
    background-color: #e8f5e9; /* Light green for Sehri */
    color: #2e7d32; /* Dark green text */
}

.muslim_prayer_time .mptbd-container .iftar_time {
    background-color: #fff3e0; /* Light orange for Iftar */
    color: #ef6c00; /* Dark orange text */
}

/* Prayer name and time lists */
.muslim_prayer_time .mptbd-container .prayer_name,
.muslim_prayer_time .mptbd-container .prayer_time {
    list-style: none;
    margin: 0;
    padding: 0;
}

.muslim_prayer_time .mptbd-container .prayer_name ul,
.muslim_prayer_time .mptbd-container .prayer_time ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.muslim_prayer_time .mptbd-container .prayer_name li,
.muslim_prayer_time .mptbd-container .prayer_time li {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
}

.muslim_prayer_time .mptbd-container .prayer_name li {
    justify-content: center;
    background-color: #f1f1f1;
    font-weight: 600;
}

.muslim_prayer_time .mptbd-container .prayer_time li {
    justify-content: center;
    background-color: #e3f2fd;
    color: #007bff;
    font-weight: 600;
}

.muslim_prayer_time .mptbd-container ul li:before,
.muslim_prayer_time .mptbd-container ul li:after {
    content: none;
}

/* Fade Out & In Effect */
.mptbd-fade {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
}

/* Blink Effect */
@keyframes mptbd-blinkEffect {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.mptbd-blink {
    animation: mptbd-blinkEffect 1s ease-in-out 3;
}

/* Quotes */
.muslim_prayer_time .mptbd-prayer-quotes {
    position: relative;
    width: 100%;
    min-height: 60px;
    margin: -1px 0 0;
    padding: 1px 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #333;
    background: #ffffff;
    border-radius: 8px;
}

.muslim_prayer_time .mptbd-prayer-quotes #mptbd-quotes {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ebedee;
    border-radius: 8px;
    box-shadow: inset 1px 1px 6px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.muslim_prayer_time .mptbd-prayer-quotes #mptbd-quotes li {
    position: absolute;
    width: 100%;
    opacity: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(50%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    text-align: center;
    padding: 20px; /* Adds spacing for dynamic height */
    white-space: normal; /* Allows multi-line text */
    word-wrap: break-word;
}

/* Active quote */
.muslim_prayer_time .mptbd-prayer-quotes #mptbd-quotes li.active {
    opacity: 1;
    transform: translateY(0);
}

/* background-color: #d6ffb8;
    color: #2f600a; */

#mptbd-error-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.mptbd-error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive design */
@media (max-width: 600px) {
    .mptbd-container {
        grid-template-columns: 1fr;
    }

    .sehri_time,
    .iftar_time {
        font-size: 14px;
        padding: 12px;
    }

    .prayer_name li,
    .prayer_time li {
        justify-content: center;
    }
}
