/* Cookie Policy Modal Styles */
.cookie-policy-modal {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    border-top: 3px solid #a42734;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(100%);
    opacity: 0;
}

.cookie-policy-modal.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.cookie-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-policy-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-policy-text {
    flex: 1;
    padding-right: 30px;
    min-width: 300px;
}

.cookie-policy-text h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.cookie-policy-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.btn-accept-cookies {
    background-color: #a42734;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-accept-cookies:hover {
    background-color: #8a1f2b;
}

.btn-essential-cookies {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-essential-cookies:hover {
    background-color: #e9ecef;
}

.btn-cookie-settings {
    background-color: transparent;
    color: #a42734;
    border: 1px solid #a42734;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cookie-settings:hover {
    background-color: #f8f9fa;
    color: #8a1f2b;
}

/* Cookie Settings Modal Styles */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cookie-settings-modal.show {
    display: block;
    opacity: 1;
}

.cookie-settings-container {
    position: relative;
    background-color: white;
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-container {
    transform: translateY(0);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-settings-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.close-cookie-settings {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cookie-settings:hover {
    color: #333;
}

.cookie-settings-content {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.cookie-settings-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-settings-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-option-header h5 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.cookie-settings-option p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-settings-footer {
    padding: 15px 0 0;
    display: flex;
    justify-content: flex-end;
}

.btn-save-cookie-settings {
    background-color: #a42734;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-save-cookie-settings:hover {
    background-color: #8a1f2b;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #a42734;
}

input:focus + .slider {
    box-shadow: 0 0 1px #a42734;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-policy-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-policy-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-policy-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-accept-cookies,
    .btn-essential-cookies,
    .btn-cookie-settings {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .cookie-settings-container {
        width: 95%;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .cookie-policy-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-accept-cookies,
    .btn-essential-cookies,
    .btn-cookie-settings {
        width: 100%;
    }
} 