/* Cookie Banner Styles */

/* Hide the checkbox */
.cookie-banner-toggle {
    display: none;
}

/* Show banner by default */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-300);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: block;
    padding: 20px;
}

/* Hide banner when checkbox is checked */
.cookie-banner-toggle:checked + .cookie-banner {
    display: none !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-indigo);
    margin: 0 0 8px 0;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
}

.cookie-text a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

.cookie-option input[type="checkbox"] {
    margin: 0;
    accent-color: var(--coral);
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-option span {
    white-space: nowrap;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    user-select: none;
}

.cookie-btn.primary {
    background-color: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.cookie-btn.primary:hover {
    background-color: #e55a4f;
    border-color: #e55a4f;
}

.cookie-btn.secondary {
    background-color: var(--deep-indigo);
    color: var(--white);
    border-color: var(--deep-indigo);
}

.cookie-btn.secondary:hover {
    background-color: #1f2156;
    border-color: #1f2156;
}

.cookie-btn.tertiary {
    background-color: transparent;
    color: var(--gray-600);
    border-color: var(--gray-300);
}

.cookie-btn.tertiary:hover {
    background-color: var(--cloud);
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-controls {
        width: 100%;
    }
    
    .cookie-options {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-text h4 {
        font-size: 15px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-options {
        gap: 8px;
    }
    
    .cookie-option {
        font-size: 12px;
    }
    
    .cookie-btn {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 80px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 6px;
    }
}