/*
* Kopchyonaya Chechevitsa - Cookie Consent CSS
* Styles for cookie consent banner and modal
*/

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cookie-content p {
    margin-bottom: 2rem;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 4px;
    max-width: 600px;
    width: 90%;
    padding: 3rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

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

.cookie-modal h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #333;
}

.cookie-modal p {
    margin-bottom: 2.5rem;
}

.cookie-options {
    margin-bottom: 3rem;
}

.cookie-option {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-option input[type="checkbox"] {
    margin-right: 1rem;
    width: 18px;
    height: 18px;
}

.cookie-option p {
    margin-left: 2.8rem;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0;
}

.cookie-modal-buttons {
    display: flex;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-content {
        padding: 0 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .cookie-modal-content {
        padding: 2rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .cookie-content h3 {
        font-size: 1.8rem;
    }
    
    .cookie-content p {
        font-size: 1.4rem;
    }
    
    .cookie-modal h3 {
        font-size: 2rem;
    }
}
