/*
 * ===================================================================
 * Cookie Banner - Styled to Match Enfold Child Theme Branding
 * ===================================================================
 */

/* --- Main Banner Container --- */
body .termsfeed-com---nb-simple {
    /* Using the primary gradient from the website's hero sections */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    /* Matching the softer border radius of site content boxes */
    border-radius: 15px;
    border: none;
    /* Adding a subtle shadow to lift the banner off the page */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 550px !important;
    bottom: 20px;
    right: 20px;
}

/* --- Typography --- */
body .termsfeed-com---palette-light .cc-nb-text,
body .termsfeed-com---palette-light .cc-nb-title {
    /* Applying the website's primary font */
    font-family: 'Poppins', sans-serif;
    color: white !important;
}

body .termsfeed-com---palette-light .cc-nb-title {
    font-weight: 700 !important;
    font-size: 20px;
    text-transform: none; /* The site uses normal case for headings */
}

body .termsfeed-com---palette-light .cc-nb-text {
    font-weight: 400 !important;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9; /* Matching the opacity of sub-text on the site */
}

/* --- Buttons --- */

/* Base styles for all buttons to match the site's look */
body .termsfeed-com---palette-light .cc-cp-foot-save,
body .termsfeed-com---palette-light .cc-nb-okagree,
body .termsfeed-com---palette-light .cc-nb-reject,
body .termsfeed-com---palette-light .cc-nb-changep {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px; /* Pill-shaped buttons to match the site */
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border: 2px solid transparent;
    margin-right: 10px !important;
}

/* Primary Button (Accept) - Styled like the main CTA button */
body .termsfeed-com---palette-light .cc-nb-okagree,
body .termsfeed-com---palette-light .cc-cp-foot-save,
body .termsfeed-com---palette-light .cc-nb-reject {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white !important;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Secondary Buttons (Reject / Preferences) - Ghost button style */
body .termsfeed-com---palette-light .cc-nb-changep {
    background-color: transparent;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

/* --- Hover & Focus States --- */

/* Primary button hover */
body .termsfeed-com---palette-light .cc-nb-okagree:hover,
body .termsfeed-com---palette-light .cc-cp-foot-save:hover,
body .termsfeed-com---palette-light .cc-nb-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
    filter: brightness(1.1);
}

/* Secondary button hover */
body .termsfeed-com---palette-light .cc-nb-changep:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #667eea !important; /* Use a dark color from the gradient on hover */
    border-color: transparent;
}

/* Remove default focus outline for a cleaner look */
body .termsfeed-com---palette-light .cc-cp-foot-save:focus,
body .termsfeed-com---palette-light .cc-nb-changep:focus,
body .termsfeed-com---palette-light .cc-nb-okagree:focus,
body .termsfeed-com---palette-light .cc-nb-reject:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    outline: none;
}


/*
 * ===================================================================
 * Existing Customizations (Kept from original file)
 * ===================================================================
 */

/*special custom css*/
#tab_title_fbpixel {
    /*display:none !important;*/
}

body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active="true"] {
    color: black !important;
}

body .cc-pc-head-lang-select {
    display: none !important;
}

/*Mod - Kept custom close button and padding */
body .termsfeed-com---nb .cc-nb-main-container {
    padding: 1.5rem 2rem 1.5rem 2rem;
    position: relative;
}

body .termsfeed-com---nb .cc-nb-main-container .cc-nb-main-container-cross:hover {
    cursor: pointer;
}

body .termsfeed-com---nb .cc-nb-main-container .cc-nb-main-container-cross {
    position: absolute;
    width: 20px;
    height: 20px;
    display: inline-block;
    right: 20px;
    top: 20px;
}

body .termsfeed-com---nb .cc-nb-main-container .cc-nb-main-container-cross::before,
body .termsfeed-com---nb .cc-nb-main-container .cc-nb-main-container-cross::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 2px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

body .termsfeed-com---nb .cc-nb-main-container .cc-nb-main-container-cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body .termsfeed-com---pc-dialog .cc-pc-head-lang {
    padding-right: 0px !important;
}

/* --- Media Queries --- */

@media only screen and (max-width: 991px) {
    body .termsfeed-com---nb-simple {
        max-width: 100% !important;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }
}

@media only screen and (max-width: 600px) {
    body .termsfeed-com---pc-dialog .cc-pc-head-lang {
        position: absolute;
        z-index: 10;
        right: 15px;
        top: -5px;
    }
}