/* Cookies Consent Styles */
.cookies-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: rgba(0, 0, 0, 0.95); */
    background: #FFF;
    backdrop-filter: blur(10px);
    color: #222;
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #E25380;
}

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

.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookies-text {
    flex: 1;
    min-width: 300px;
}

.cookies-text h3 {
    color: #E25380;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookies-text p {
    color: #333;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookies-text a {
    color: #E25380;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookies-text a:hover {
    color: #66BB6A;
    text-decoration: underline;
}

.cookies-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background: #E25380;
    color: white;
}

.btn-primary:hover {
    background: #cf406e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #666;
}

.btn-secondary:hover {
    background: #666;
    color: white;
    border-color: #888;
}

.btn-settings {
    background: transparent;
    color: #E25380;
    border: 2px solid #E25380;
    font-size: 12px;
    min-width: auto;
    padding: 8px 16px;
}

.btn-settings:hover {
    background: #E25380;
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    color: #333;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #f0f0f0;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cookie-category h3 {
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category p {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #E25380;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.disabled {
    background-color: #E25380 !important;
    cursor: not-allowed;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

/* Status indicator */
.consent-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1000;
}

.consent-status.accepted {
    background: rgba(76, 175, 80, 0.9);
}

.consent-status.partial {
    background: rgba(255, 152, 0, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .cookies-content {
        flex-direction: column;
        text-align: center;
    }

    .cookies-actions {
        justify-content: center;
        width: 100%;
    }

    .btn {
        flex: 1;
        min-width: auto;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
    }
        }