/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--neutral-800);
    color: white;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text {
    flex: 1;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 90px;
    white-space: nowrap;
}

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

.cookie-btn.accept:hover {
    background-color: #6b0000;
}

.cookie-btn.reject {
    background-color: var(--neutral-600);
    color: white;
}

.cookie-btn.reject:hover {
    background-color: var(--neutral-500);
}

.cookie-btn.customize {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.cookie-btn.customize:hover {
    background-color: var(--accent);
    color: var(--neutral-800);
}

.cookie-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 8px;
    white-space: nowrap;
}

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

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--neutral-500);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-close:hover {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-100);
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

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

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

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid var(--neutral-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    min-width: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .cookie-link {
        font-size: 13px;
        padding: 8px 4px;
    }
    
    .cookie-modal {
        padding: 10px;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header {
        padding: 20px 20px 0;
    }
    
    .cookie-modal-body {
        padding: 0 20px;
    }
    
    .cookie-modal-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .cookie-link {
        text-align: center;
        margin-top: 8px;
    }
}