/* 
  Cookie Consent Stylesheet
  Author: Travyanaya-Gorchitsa
  Description: CSS file for the Cookie Consent system
*/

/* Cookie Consent Bar */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(9, 29, 90, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.btn-cookie {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d81e27;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-cookie:hover {
    background-color: #b51922;
}

#accept-necessary, #cookie-settings {
    background-color: transparent;
    border: 1px solid #fff;
}

#accept-necessary:hover, #cookie-settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.cookie-modal-content {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

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

.cookie-modal-content h3 {
    margin-bottom: 20px;
    color: #091d5a;
}

.cookie-options {
    margin-bottom: 20px;
}

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

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

.cookie-option label {
    font-weight: 600;
    margin-left: 8px;
}

.cookie-option p {
    margin-top: 5px;
    margin-left: 25px;
    font-size: 0.9rem;
    color: #666;
}

.cookie-save {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cookie-modal-content {
        width: 95%;
        padding: 20px;
    }
}
