/**
 * Extra Info Boxes CSS
 * 
 * @author    Your Name
 * @version   1.0.0
 */

/* ===========================================
   HEADER INFO BOX STYLES
   ========================================== */

.extra-info-header-box {
    padding: 10px 1.5rem;
    position: relative;
    z-index: 100;
    text-align: center;
    font-size: 0.875rem;
    background: linear-gradient(45deg, #bfefcb, var(--secondary));
    color: #064717;
        .btn-close {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
    }

    .btn-close {
        cursor: pointer;
    }

}

.header-info-content {
    display: flex;
    align-items: center;
    justify-content: center;

}




/* ===========================================
   FLOATING INFO BOX STYLES
   ========================================== */
.extra-info-floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 1.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 1.75rem;
    font-size: .875rem;
    color:#2b2b2b
}

.extra-info-floating-box:not(.fadingout),
.extra-info-header-box:not(.fadingout) 
{
    animation: fadeIn 0.5s ease-in-out;
}

.extra-info-floating-box.fadingout,
.extra-info-header-box.fadingout  
 {
    animation: fadeOut 0.5s ease-in-out forwards;
}

.extra-info-floating-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.floating-close-btn, #extraInfoPopup button.close {
    right: 10px;
    top: 10px;
    cursor:pointer
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}


/* ===========================================
   POUPUP INFO BOX STYLES
   ========================================== */

#extraInfoPopup {
    text-align: center;
    
    .modal-body{
    padding: 2.25rem 1.75rem;
    }
    h3, h4 {
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .extra-info-floating-box {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .extra-info-popup-box {
        width: 95%;
        margin: 0 auto;
    }
    

}

