/* Cookie Banner Styles - Aligned with site design */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 55, 116, 0.98);
    backdrop-filter: blur(12px);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: none !important; /* !important - inline style felülbírálás megakadályozása */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cookie-overlay.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-banner-info {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cookie-banner-link {
    color: var(--secondary-color, #aba297);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.cookie-btn-accept {
    background: var(--secondary-color, #aba297);
    color: white;
}

.cookie-btn-accept:hover {
    background: #c4b3a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(171, 162, 151, 0.4);
}

.cookie-btn-customize {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn-customize:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--text-dark, #333333);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-settings h2 {
    margin: 0 0 1rem 0;
    color: var(--primary-color, #2e3774);
    font-family: var(--font-heading, 'Inter', sans-serif);
}

.cookie-settings p {
    margin: 0 0 2rem 0;
    color: var(--text-light, #666666);
    line-height: 1.6;
}

.cookie-option-group {
    margin-bottom: 1.5rem;
}

.cookie-option-group h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark, #333333);
    font-family: var(--font-heading, 'Inter', sans-serif);
}

.cookie-option-group p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    color: var(--text-light, #666666);
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-option:hover {
    background: var(--bg-light, #f9f9f9);
    border-color: var(--primary-color, #2e3774);
}

.cookie-option input[type="checkbox"],
.cookie-option-check {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color, #2e3774);
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark, #333333);
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.cookie-btn-save {
    background: var(--primary-color, #2e3774);
    color: white;
}

.cookie-btn-save:hover {
    background: #1a2245;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 55, 116, 0.4);
}

.cookie-btn-cancel {
    background: transparent;
    color: var(--text-light, #666666);
    border: 1px solid var(--border-color, #e0e0e0);
}

.cookie-btn-cancel:hover {
    background: var(--bg-light, #f9f9f9);
    transform: translateY(-2px);
    border-color: var(--primary-color, #2e3774);
    color: var(--primary-color, #2e3774);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings {
        padding: 1rem;
    }
    
    .cookie-settings-content {
        padding: 1.5rem;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-settings-actions .cookie-btn {
        width: 100%;
    }
}
