/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #d69e2e;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem 0;
    display: none;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-banner-text h3 {
    color: #1a365d;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cookie-banner-text p {
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #d69e2e;
    color: white;
}

.cookie-btn-primary:hover {
    background: #b7791f;
}

.cookie-btn-secondary {
    background: #1a365d;
    color: white;
}

.cookie-btn-secondary:hover {
    background: #2c5282;
}

.cookie-btn-outline {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.cookie-btn-outline:hover {
    background: #1a365d;
    color: white;
}

.cookie-banner-links {
    grid-column: 1 / -1;
    margin-top: 1rem;
    text-align: center;
}

.cookie-policy-link {
    color: #d69e2e;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* Cookie Customizer */
.cookie-customizer {
    padding: 1.5rem 0;
}

.cookie-customizer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-customizer-content h4 {
    color: #1a365d;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cookie-category-header {
    margin-bottom: 0.5rem;
}

.cookie-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95em;
}

.cookie-checkbox-label input[type="checkbox"] {
    display: none;
}

.cookie-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d69e2e;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.cookie-checkbox-label input[type="checkbox"]:checked + .cookie-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #d69e2e;
    font-weight: bold;
    font-size: 14px;
}

.cookie-checkbox-label input[type="checkbox"]:disabled + .cookie-checkbox-custom {
    background: #e2e8f0;
    border-color: #cbd5e0;
}

.cookie-checkbox-label input[type="checkbox"]:disabled + .cookie-checkbox-custom::after {
    color: #718096;
}

.cookie-category-description {
    color: #718096;
    font-size: 0.85em;
    line-height: 1.4;
    margin: 0;
}

.cookie-customizer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85em;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-customizer-actions .cookie-btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-banner-content {
        padding: 0 15px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.8rem;
    }
    
    .cookie-customizer-content {
        padding: 0 15px;
    }
    
    .cookie-category {
        padding: 0.75rem;
    }
}