/* Cookie Consent Modal Stílusok */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.cookie-consent-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 620px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: cookieModalSlideIn 0.4s ease-out;
    transition: all 0.3s ease;
}

@keyframes cookieModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Poppins', sans-serif;
}

.cookie-modal-body {
    padding: 20px 24px;
}

.cookie-modal-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.cookie-category {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.cookie-category-header {
    background: #f8f9fa;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.cookie-category-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-size: 1rem;
}

.cookie-category-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cookie-category.expanded .cookie-category-toggle {
    transform: rotate(180deg);
}

.cookie-category-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.cookie-category.expanded .cookie-category-content {
    max-height: 200px;
    padding: 16px 20px;
}

.cookie-category-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--zold1, #798171);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-slider.disabled {
    background-color: var(--zold1, #798171) !important;
    cursor: not-allowed;
}

.cookie-slider.disabled:before {
    transform: translateX(24px);
}

.cookie-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.cookie-btn-reject {
    background: #dc3545;
    color: white;
}

.cookie-btn-reject:hover {
    background: #c82333;
}

.cookie-btn-accept {
    background: var(--zold1, #798171);
    color: white;
}

.cookie-btn-accept:hover {
    background: #6a7062;
}

/* Cookie Notification Banner (kisebb változat) */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 16px 20px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notification-text {
    flex: 1;
    font-size: 0.9rem;
    margin-right: 20px;
}

.cookie-notification-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-notification .cookie-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.cookie-settings-link {
    color: #bdc3c7;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.cookie-settings-link:hover {
    color: white;
}

/* Reszponzív stílusok */
@media (max-width: 768px) {
    .cookie-consent-modal {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-notification {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .cookie-notification-text {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .cookie-notification-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-notification .cookie-btn {
        width: 100%;
    }
}
