/* Cookie Consent Overlay */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.cookie-consent-overlay.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    padding: 30px 20px;
    z-index: 999999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

.cookie-consent-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #39436f;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.cookie-consent-text a {
    color: #fb80a5;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-btn-accept {
    background: linear-gradient(135deg, #fb80a5 0%, #ff6584 100%);
    color: #ffffff;
}

.cookie-consent-btn-accept:hover {
    background: linear-gradient(135deg, #ff6584 0%, #fb80a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(251, 128, 165, 0.3);
}

.cookie-consent-btn-decline {
    background: #f5f5f5;
    color: #39436f;
}

.cookie-consent-btn-decline:hover {
    background: #e0e0e0;
}

.cookie-consent-btn-settings {
    background: transparent;
    color: #39436f;
    border: 1px solid #ddd;
}

.cookie-consent-btn-settings:hover {
    background: #f9f9f9;
    border-color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

.cookie-settings-content h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #39436f;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.cookie-category h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #39436f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.cookie-toggle input[type="checkbox"] {
    width: 50px;
    height: 26px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle input[type="checkbox"]:checked {
    background: #fb80a5;
}

.cookie-toggle input[type="checkbox"]:before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.cookie-toggle input[type="checkbox"]:checked:before {
    left: 26px;
}

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

.cookie-settings-buttons {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn-save {
    background: linear-gradient(135deg, #fb80a5 0%, #ff6584 100%);
    color: #ffffff;
    flex: 1;
}

.cookie-settings-btn-save:hover {
    background: linear-gradient(135deg, #ff6584 0%, #fb80a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(251, 128, 165, 0.3);
}

.cookie-settings-btn-cancel {
    background: #f5f5f5;
    color: #39436f;
}

.cookie-settings-btn-cancel:hover {
    background: #e0e0e0;
}
