#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: #0f172a; /* Dark background matching IoT theme */
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-consent-banner.cookie-banner-hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

#cookie-consent-banner .cookie-content p {
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#cookie-consent-banner .cookie-buttons {
    align-items: stretch;
    flex-wrap: nowrap;
}

#cookie-consent-banner .cookie-buttons .btn-core-action {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 14px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    #cookie-consent-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }

    #cookie-consent-banner .cookie-buttons {
        flex-wrap: wrap;
    }

    #cookie-consent-banner .cookie-buttons .btn-core-action {
        flex: 1 1 100%;
    }
}
