/* Popup Background */

#ramadan-popup p {
    font-family: 'Anek Bangla', sans-serif;
    line-height: 1.6;
    color: #FFFFFF !important;
}

#ramadan-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Close Button */
#ramadan-popup .popup-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    color: #fff !important;
    cursor: pointer;
    z-index: 10000;
}

/* Popup content wrapper */
#ramadan-popup .popup-content {
    display: flex;
    max-width: 800px;
    width: 90%;
    background: #0C4A6D;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Left Column: Image */
#ramadan-popup .popup-left {
    flex: 1;
}

#ramadan-popup .popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Column: Time Schedule */

#ramadan-popup .popup-right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical center */
    align-items: center;     /* Horizontal center */
    /*background: rgba(0,0,0,0.6);*/
    color: #fff !important;
    text-align: center;      /* Text + logo horizontal center */
}

/* Logo on top */
#ramadan-popup .popup-logo {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    width: 100%;
}

#ramadan-popup .popup-logo img {
    width: 210px;
    height: auto;
    display: block;
}

.title-text{
    font-size: 36px;
    font-family: 'Anek Bangla', sans-serif;
    color: #7BD7F2 !important;
    font-weight: 900;
    margin-bottom: 10px;
}

.pop-title-text1 {
    margin: 0px;
    font-size: 20px;
    font-family: 'Anek Bangla', sans-serif;
}

/*.time-badge {*/
/*    background: #fff;*/
/*    padding: 8px 18px;*/
/*    border-radius: 4px;*/
/*    color: #093557 !important; !* ensure text visible *!*/
/*    font-weight: bold;*/
/*    font-size: 20px;*/
/*}*/


.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.time-box {
    background-color: #146791;
    color: #7CF3FF;
    padding: 10px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 22px;
    min-width: 32px;
    text-align: center;
}

.time-sep {
    color: #7CF3FF;
    font-weight: bold;
}

.time-am {
    margin-left: 4px;
    color: #7CF3FF;
    font-size: 18px;
    margin-top: 24px;
    font-weight: 500;
    text-transform: lowercase;
}


.time-label {
    margin-right: 20px;
    font-size: 24px;
}

#ramadan-popup .time-separator {
    width: 90%;
    height: 0;
    margin: 10px 0;
    border-bottom: 2px dotted #fff;
}

.pop-custom-label {
    margin-top: 42px;
    margin-bottom: 14px;
}

.pop-custom-label1 {

    margin-bottom: 0;
    margin-top: 16px;
    font-size: 24px;
}

strong.time-label1 {
    margin-right: 38px;
    font-size: 24px;
}
.popup-note {
    font-size: 14px;
    margin-top: 20px;
    margin-right: 208px;
    margin-bottom: 2px;
    font-family: 'Anek Bangla', sans-serif;
}

.popup-note1 {
    font-size: 14px;
    margin-top: 0;
    margin-right: 146px;
    font-family: 'Anek Bangla', sans-serif;
}

.icon-text {
    display: inline-flex;          /* icon + text এক লাইনে রাখবে */
    align-items: center;           /* vertical center alignment */
    padding: 5px 10px;             /* ভিতরের gap */
    background-color: transparent;        /* পছন্দমতো ব্যাকগ্রাউন্ড */
    color: #FFFFFF !important;                /* text color */
    border-radius: 12px;           /* rounded corners */
    font-size: 12px;               /* text size */
    gap: 5px;                      /* icon-text এর মধ্যে gap */
    box-shadow: 0 2px 6px rgba(0,0,0,0.5); /* optional shadow */
    margin-right: 198px;
}

/*span.pop-sub-title {*/
/*    font-size: 22px;*/
/*    font-family: 'Anek Bangla', sans-serif;*/
/*}*/

p.title-weekday {
    margin: 0;
    font-size: 16px;
    font-family: 'Anek Bangla', sans-serif;
}

img.moon-icon {
    width: 110px;
    margin-right: 236px;
}

.pop-title-weekday {
    margin: 0 !important;
    font-size: 20px;
}


/* Phone/Small screen responsive */
@media only screen and (max-width: 768px) {
    #ramadan-popup .popup-content {
        flex-direction: column; /* বাম ডানকে উল্লম্বে এনে দেবে */
        max-width: 90%;
        align-items: center; /* Horizontal center */
        text-align: center;  /* সব টেক্সট center */
    }

    #ramadan-popup .popup-left {
        display: none;
    }

    #ramadan-popup .popup-right {
        width: 100%;
        padding: 20px 15px; /* ফোনে proper padding */
        display: flex;
        flex-direction: column;
        justify-content: center; /* vertical center */
        align-items: center;     /* horizontal center */
        text-align: center;
    }

    #ramadan-popup .popup-logo img {
        width: 150px;
        height: auto;
        margin-bottom: 15px;
    }

    .title-text {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .pop-title-weekday {
        font-size: 14px;
    }

    .time-badge {
        font-size: 14px;
        padding: 6px 12px;
    }

    /*.time-separator {*/
    /*    width: 90%;*/
    /*    border-bottom: 2px dotted #FFFFFF;*/
    /*    margin: 10px 0;*/
    /*}*/


    .custom-label, .custom-label1, .popup-note, .popup-note1, .icon-text {
        margin: 8px 0;
    }

    .icon-text {
        justify-content: center;
        /*margin: 10px 0 0 0;*/
    }

    /*.time-separator {*/
    /*    font-size: 12px;*/
    /*    margin: 0 0;*/
    /*}*/

    strong.time-label, strong.time-label1 {
        /*margin-right: 10px;*/
    }

    img.moon-icon {
        width: 110px;
        margin: 10px auto 0 auto; /* auto left-right margin centers the image */
        display: block;
    }
}
