/**
 * Cookie Consent Banner Styles
 *
 * @package ConstructionCatalog\Core
 */

/* Cookie Consent Banner */
.cc-cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #2c5aa0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
}

.cc-cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cc-cookie-consent-text {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.cc-cookie-consent-text a {
    color: #2c5aa0;
    text-decoration: underline;
}

.cc-cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cc-cookie-consent-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.cc-cookie-accept-all {
    background: #2c5aa0;
    color: #fff;
}

.cc-cookie-accept-all:hover {
    background: #1a3d6f;
}

.cc-cookie-only-necessary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cc-cookie-only-necessary:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-cookie-consent-buttons {
        width: 100%;
    }

    .cc-cookie-consent-buttons button {
        flex: 1;
    }
}

