/* --- The Main Banner Strip --- */
.msc-cookie-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0; /* Stretches the banner across the full viewport width */
    width: 100%;
    z-index: 9999;
    
    background-color: #2E127E;
    color: #F9F6FF;
    padding: 16px 24px; /* A little less vertical padding for a strip design */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15); /* Shadow on the top edge */
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Animation settings for a smooth slide-in effect */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(100%); /* Start position: completely hidden below the screen */
}

/* This class is added via JS to show the banner */
.msc-cookie-banner.show-banner {
    display: block;
    transform: translateY(0); /* End position: slid up into view */
}


/* --- The Content Wrapper --- */
.msc-banner-content {
    display: flex;
    justify-content: space-between; /* Pushes text to the left and buttons to the right */
    align-items: center;
    gap: 24px;
    max-width: 1200px; /* Adjust this value to match your site's main content width */
    margin: 0 auto; /* Horizontally centers the content */
}


/* --- Text Section --- */
.msc-banner-icon-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    flex-grow: 1; /* Allows the text to take up available space */
}

.msc-banner-icon-text p {
    margin: 0;
}

.msc-banner-icon-text a {
    color: #F9F6FF;
    text-decoration: underline;
    white-space: nowrap; /* Prevents the link from breaking onto a new line */
}

.msc-banner-icon-text a:hover {
    color: #d8d0e6;
}


/* --- Action Buttons Section --- */
.msc-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0; /* Prevents buttons from shrinking on smaller screens */
}

.msc-banner-actions button {
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 25px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.msc-button-agree {
    background-color: #F9F6FF;
    color: #1B152B;
}

.msc-button-agree:hover {
    background-color: #ECECF2;
}

.msc-button-decline {
    background-color: transparent;
    color: #F9F6FF;
    border-color: #8a7aa8; /* Slightly more visible border */
}

.msc-button-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #F9F6FF;
}


/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .msc-cookie-banner {
        padding: 16px;
    }

    .msc-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .msc-banner-icon-text {
        font-size: 14px;
        align-items: flex-start;
    }
    
    .msc-banner-actions {
        width: 100%;
    }

    .msc-banner-actions button {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
}