/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.cookie-consent__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-consent__title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.cookie-consent__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.cookie-consent__content {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-consent__option {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 15px;
    flex: 1 1 200px;
}

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

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

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

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

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

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

input:checked + .cookie-consent__slider {
    background-color: #57ac57;
}

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

.cookie-consent__option-description {
    font-size: 12px;
    color: #ccc;
}

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

.cookie-consent__button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-consent__button--accept-all {
    background-color: #57ac57;
    color: white;
}

.cookie-consent__button--accept-all:hover {
    background-color: #468c46;
}

.cookie-consent__button--save {
    background-color: #4a4a4a;
    color: white;
}

.cookie-consent__button--save:hover {
    background-color: #333;
}

.cookie-consent__button--reject-all {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #ccc;
}

.cookie-consent__button--reject-all:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent__footer {
    font-size: 12px;
    color: #ccc;
    text-align: center;
    margin-top: 10px;
}

.cookie-consent__footer a {
    color: #57ac57;
    text-decoration: none;
}

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

.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #57ac57;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.cookie-settings-button:hover {
    background-color: #468c46;
}

.cookie-settings-button svg {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent__container {
        padding: 0 10px;
    }
    
    .cookie-consent__options {
        flex-direction: column;
    }
    
    .cookie-consent__buttons {
        flex-direction: column;
    }
    
    .cookie-consent__button {
        width: 100%;
        margin-bottom: 5px;
    }
}