/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1F3A5F;
    color: white;
    padding: 24px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #BFC7CE;
}

.cookie-text a {
    color: #6BAE75;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #5a9d64;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: #6BAE75;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #5a9d64;
}

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

.cookie-btn.reject:hover {
    background-color: #BFC7CE;
    color: #1F3A5F;
}

.cookie-btn.customize {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.customize:hover {
    background-color: white;
    color: #1F3A5F;
}

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

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

.cookie-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.cookie-modal-header h2 {
    color: #1F3A5F;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #495057;
    transition: color 0.3s ease;
    padding: 0 8px;
}

.cookie-close:hover {
    color: #1F3A5F;
}

.cookie-modal-body {
    padding: 0 24px 24px;
}

.cookie-modal-body p {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cookie-modal-body a {
    color: #6BAE75;
    text-decoration: underline;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6BAE75;
}

.cookie-category-header label {
    color: #1F3A5F;
    font-size: 16px;
    cursor: pointer;
    margin: 0;
}

.cookie-description {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .cookie-modal-header {
        padding: 20px 20px 0;
    }
    
    .cookie-modal-body {
        padding: 0 20px 20px;
    }
    
    .cookie-modal-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 20px 0;
    }
    
    .cookie-content {
        padding: 0 16px;
    }
    
    .cookie-text h3 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .cookie-buttons {
        gap: 8px;
    }
}