/* Cookie Consent Styles */
.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

.cookie-consent-text {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-btn {
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept-btn {
    background-color: var(--primary-color, #33658A);
    color: white;
}

.cookie-accept-btn:hover {
    background-color: var(--primary-darken-color, #003B5D);
}

.cookie-decline-btn {
    background-color: #6c757d;
    color: white;
}

.cookie-decline-btn:hover {
    background-color: #5a6268;
}

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

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

@media (max-width: 768px) {
    .cookie-consent-text {
        flex: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.cookie-settings-content {
    position: relative;
    background-color: #fff;
    color: #333;
    width: 90%;
    max-width: 600px;
    margin: 100px auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.cookie-settings-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-settings-categories {
    margin-bottom: 25px;
}

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

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

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

.cookie-category-title {
    font-weight: bold;
    margin: 0;
}

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

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

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

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

input:checked + .cookie-toggle-slider {
    background-color: var(--primary-color, #33658A);
}

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

.cookie-category-description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-settings-save {
    background-color: var(--primary-color, #33658A);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-settings-save:hover {
    background-color: var(--primary-darken-color, #003B5D);
}
