/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 9999;
    padding: 1.5rem;
    display: none;
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    max-width: 700px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background-color: #2e8b57;
    color: white;
}

.btn-accept-all:hover {
    background-color: #3cb371;
}

.btn-accept-necessary {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-accept-necessary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-cookie-settings {
    background-color: transparent;
    color: white;
    text-decoration: underline;
}

.btn-cookie-settings:hover {
    color: #3cb371;
}

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

.cookie-modal-content {
    background-color: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cookie-modal-header h3 {
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.close-modal:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-option {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    flex-shrink: 0;
}

.cookie-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;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

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

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2e8b57;
}

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

.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

.cookie-option-text h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.cookie-option-text p {
    margin: 0;
    color: #777;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.btn-save {
    background-color: #2e8b57;
    color: white;
}

.btn-save:hover {
    background-color: #3cb371;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-option {
        flex-direction: column;
        gap: 0.5rem;
    }
}