/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Nectar Popup Modal Overlay */
.nectar-popup-wrapper {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
}

/* Show Modal */
.nectar-popup-wrapper.active {
    visibility: visible;
    opacity: 1;
}

/* Modal Content */
.nectar-popup-content {
    background: #fff;
    border-radius: 8px;
    max-width: 1116px; /* Increased width */
    width: 90%;
    position: relative;
    animation: fadeInUp 0.4s ease;
    max-height: calc(100vh - 200px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Inner content */
.nectar-popup-inner {
    overflow-y: auto;
    max-height: 60vh; /* Restrict height */
    padding: 50px 40px; 
    overflow-x: hidden;

}
.nectar-popup-inner::before, .nectar-popup-inner::after{
    content: "";
    height: 30px;
    left: 0;
    position: absolute;
    width: 100%;
}
.nectar-popup-inner::before{
    top: 107px;
    background: -webkit-linear-gradient(270deg,#fff,hsla(0,0%,100%,.95) 26.03%,#fff0);
}
.nectar-popup-inner::after{
    bottom: 125px;
    background: linear-gradient(0deg,#09213a,#fff0);
}
.nectar-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    width: 100%;
    display: flex;
    align-items: center;
}
.nectar-popup-header .header-logo img {
    margin-bottom: 0px !important;
    max-width: 180px;
}
.nectar-popup-header, .nectar-popup-footer {
    background: #02193a;
    padding: 25px 40px;
}

/* Close Button */
.nectar-popup-close {
    font-size: 48px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* Buttons */

.nectar-popup-footer {
    margin-top: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 20px;
}

.nectar-popup-accept,
.nectar-popup-decline {
    -webkit-appearance: none;
    background: #07a;
    border: 1px solid #07a;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    margin: 10px 0;
    padding: 18px 32px;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    white-space: normal !important;
    border-radius: 5px;
}


.nectar-popup-accept:hover,
.nectar-popup-decline:hover {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.16)) 100%, #07A;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width:767px){
    .nectar-popup-header .header-logo img{
        max-width: 150px !important;
    }
}