/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden, will be shown via JS */
}

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

.cookie-content p {
    margin: 10px 0;
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .cookie-content p {
        flex: 1 1 60%;
        margin-right: 20px;
    }
}

.cookie-content a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .cookie-buttons {
        flex: 0 0 auto;
        margin-top: 0;
    }
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-btn.accept {
    background-color: #3498db;
    color: #fff;
}

.cookie-btn.accept:hover {
    background-color: #2980b9;
}

.cookie-btn.necessary {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

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

.cookie-btn.settings {
    background-color: #f8f9fa;
    color: #2c3e50;
}

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

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    overflow-y: auto;
}

.cookie-settings-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

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

.close-cookie-settings:hover {
    color: #333;
}

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

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

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

.cookie-option label {
    font-weight: bold;
    margin-left: 10px;
}

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

.cookie-settings-buttons {
    text-align: right;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .cookie-settings-content {
        margin: 20% auto;
        width: 95%;
        padding: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
