/* Cookie Consent Popup Styles */
#cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #f1f1f1;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
}

#cookie-consent-popup.visible {
    display: block;
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: #0066cc;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

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

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

.cookie-btn-accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #45a049;
}

.cookie-btn-settings {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}

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

.cookie-btn-reject {
    background-color: #f44336;
    color: white;
}

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

/* 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;
    overflow: auto;
}

.cookie-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.cookie-modal-close {
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

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

.cookie-category {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: bold;
    font-size: 16px;
}

.cookie-category-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-category-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-category-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-category-toggle input:checked + .cookie-category-slider {
    background-color: #4CAF50;
}

.cookie-category-toggle input:checked + .cookie-category-slider:before {
    transform: translateX(26px);
}

.cookie-category-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .cookie-modal-content {
        margin: 20px;
        width: auto;
    }
}