/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.cookie-banner-visible {
    transform: translateY(0);
}

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

.cookie-banner-text {
    margin-bottom: 20px;
}

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

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

.cookie-btn-primary:hover {
    background-color: #1d4ed8;
}

.cookie-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #d1d5db;
}

.cookie-btn-secondary:hover {
    background-color: #e2e8f0;
}

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

.cookie-btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.cookie-policy-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

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

/* Cookie Customizer */
.cookie-customizer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}

.cookie-customizer-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.cookie-category {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 6px;
}

.cookie-category-header {
    margin-bottom: 6px;
}

.cookie-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
}

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

.cookie-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    background-color: white;
    transition: all 0.2s ease;
}

.cookie-checkbox-label input[type="checkbox"]:checked + .cookie-checkbox-custom {
    background-color: #2563eb;
    border-color: #2563eb;
}

.cookie-checkbox-label input[type="checkbox"]:checked + .cookie-checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

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

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

.cookie-checkbox-label:has(input[type="checkbox"]:disabled) {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-category-description {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.cookie-customizer-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 20px 16px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        text-align: center;
        width: 100%;
    }
    
    .cookie-policy-link {
        text-align: center;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 16px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}