.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    display: none;
    border-top: 4px solid var(--primary-dark);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-consent-header i {
    color: var(--accent);
    font-size: 24px;
    margin-right: 10px;
}

.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark) !important;
    letter-spacing: 0px !important;
    margin: 0;
}

.cookie-consent-text {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    font-weight: 500;
}

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

.btn-cookie-accept {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cookie-accept:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-cookie-settings {
    background-color: white;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cookie-settings:hover {
    background-color: var(--gray-light);
    color: var(--accent);
    border-color: var(--accent);
}

/* 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;
    justify-content: center;
    align-items: center;
}

.cookie-settings-content {
    background-color: white;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    position: relative;
    border-top: 4px solid var(--primary-dark);
}

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

.cookie-settings-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark) !important;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-settings-close:hover {
    color: var(--accent);
}

.cookie-settings-option {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-medium);
}

.cookie-settings-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.cookie-option-title {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    color: var(--primary-dark) !important
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    scrollbar-color: #1B1464 slategrey;
}

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

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

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

input:checked + .cookie-slider {
    background-color: var(--primary-dark);
}

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

.cookie-option-description {
    font-size: 13px;
    color: var(--gray-dark);
    margin: 0;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.btn-save-preferences {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-preferences:hover {
    background-color: var(--accent);
}

.btn-accept-all {
    background-color: white;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-all:hover {
    background-color: var(--gray-light);
    color: var(--accent);
    border-color: var(--accent);
}

/* Responsive styles */
@media (max-width: 576px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
    
    .cookie-settings-content {
        width: 95%;
        padding: 15px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
