/* Cookie Consent Banner Styles */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    backdrop-filter: blur(1px);
}

.cookie-consent-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    z-index: 9999;
}

.cookie-consent-container {
    width: 100%;
    padding: 20px;
}

/* Compact view styles */
.cookie-consent-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.cookie-consent-compact p {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.cookie-consent-compact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

/* Expanded view styles */
.cookie-consent-expanded {
    display: none;
    max-height: 70vh;
    overflow-y: auto;
}

.cookie-consent-banner.collapsed .cookie-consent-compact {
    display: flex;
}

.cookie-consent-banner.collapsed .cookie-consent-expanded {
    display: none;
}

.cookie-consent-banner.expanded .cookie-consent-compact {
    display: none;
}

.cookie-consent-banner.expanded .cookie-consent-expanded {
    display: block;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cookie-consent-header h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.cookie-collapse-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    position: absolute;
    top: 0;
    right: 0;
}

.cookie-collapse-button:hover {
    color: #333;
}

.cookie-consent-content p {
    margin-bottom: 10px;
    color: #555;
    font-size: 13px;
}

.cookie-options-wrapper {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2px;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.cookie-option {
    background-color: #f8f8f8;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cookie-option label {
    font-weight: bold;
    margin-left: 8px;
    color: #333;
}

.cookie-description {
    margin-top: 3px;
    margin-bottom: 0;
    margin-left: 25px;
    font-size: 12px;
    color: #666;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.cookie-consent-button {
    padding: 10px 20px;
    border-radius: 35px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.expand-settings {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.expand-settings:hover {
    background-color: #f0f0f0;
}

.accept-all {
    background-color: #fcd103;
    color: #333;
}

.accept-all:hover {
    background-color: #e9c000;
}

.accept-selected {
    background-color: #f0f0f0;
    color: #333;
}

.accept-selected:hover {
    background-color: #e0e0e0;
}

.accept-necessary {
    background-color: #f0f0f0;
    color: #333;
}

.accept-necessary:hover {
    background-color: #e0e0e0;
}

/* Mobile styles */
@media (max-width: 480px) {
    .cookie-consent-banner {
        width: 95%;
        max-width: 95%;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-button {
        width: 100%;
    }
}