/* 2026-Ready Cookie Banner Styles */

/* The Main Banner Container */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Floating card style is more modern than full width */
    right: 20px;
    max-width: 500px; /* Prevent it from being too wide */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none; /* Controlled by JS */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    animation: slideUp 0.4s ease-out;
}

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

/* Mobile responsivness: Full width on small screens */
@media (max-width: 600px) {
    #cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }
}

#cookie-banner h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

#cookie-banner p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

#cookie-banner a {
    color: #111;
    text-decoration: underline;
    font-weight: 500;
}

/* Buttons */
.banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.cb-btn-primary, .cb-btn-secondary, .cb-btn-text {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cb-btn-primary {
    background-color: #111;
    color: #fff;
    border: 1px solid #111;
}
.cb-btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.cb-btn-secondary {
    background-color: transparent;
    color: #111;
    border: 1px solid #ddd;
}
.cb-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.cb-btn-text {
    background: none;
    color: #555;
    border: none;
    text-decoration: underline;
    padding: 10px 5px;
}
.cb-btn-text:hover {
    color: #111;
}

/* Checkbox Styles */
#cb-preferences input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #111;
}
