/**
 * GDPR Cookie Consent Banner Styles
 * MATRIX CBS Kft. - Editorial Sophistication Design
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fffbeb;
    z-index: 9999;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    position: relative;
}

/* Decorative accent line */
.cookie-consent-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #c2410c, #f59e0b);
}

/* Header */
.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-consent-header i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.cookie-consent-header h4 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #fffbeb;
    letter-spacing: -0.02em;
}

.cookie-consent-content > p {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 251, 235, 0.8);
}

.cookie-consent-content > p a {
    color: #fbbf24;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.cookie-consent-content > p a:hover {
    color: #f59e0b;
}

/* Options */
.cookie-consent-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 251, 235, 0.06);
    border: 1px solid rgba(255, 251, 235, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    flex: 1;
}

.cookie-option:hover {
    background: rgba(255, 251, 235, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.cookie-option.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #f59e0b;
    cursor: pointer;
    border-radius: 4px;
}

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

.cookie-option-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fffbeb;
    letter-spacing: 0.01em;
}

.cookie-option-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 251, 235, 0.55);
    margin-top: 0.375rem;
    line-height: 1.5;
}

/* Buttons */
.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.btn-cookie-reject {
    background: transparent;
    color: rgba(255, 251, 235, 0.65);
    border: 1px solid rgba(255, 251, 235, 0.25);
}

.btn-cookie-reject:hover {
    background: rgba(255, 251, 235, 0.08);
    color: #fffbeb;
    border-color: rgba(255, 251, 235, 0.4);
}

.btn-cookie-save {
    background: rgba(255, 251, 235, 0.12);
    color: #fffbeb;
    border: 1px solid rgba(255, 251, 235, 0.2);
}

.btn-cookie-save:hover {
    background: rgba(255, 251, 235, 0.2);
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Cookie Settings Link (for footer) */
.cookie-settings-link {
    color: rgba(255, 251, 235, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.cookie-settings-link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1.5rem 1.25rem;
    }

    .cookie-consent-header h4 {
        font-size: 1.2rem;
    }

    .cookie-consent-content > p {
        font-size: 0.875rem;
    }

    .cookie-consent-options {
        flex-direction: column;
    }

    .cookie-option {
        min-width: 100%;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 1.25rem 1rem;
    }

    .cookie-option {
        padding: 0.875rem 1rem;
    }
}
