/* Cookie Consent Styles */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: flex-end;
    padding: 16px;
    pointer-events: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.is-visible {
    display: flex;
    pointer-events: auto;
}

.cookie-banner__container {
    position: relative;
    z-index: 2001;
    max-width: 100%;
    width: 100%;
    background-color: #18072E;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    pointer-events: auto;
}



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

.cookie-banner__text {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 16px;
    line-height: 1.375em;
    color: #FFFFFF;
    margin: 0;
}

.cookie-banner__text a {
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cookie-banner__text a:hover {
    opacity: 0.8;
}

.cookie-banner__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-banner__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    background-color: #9557E4;
    border: none;
    border-radius: 800px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-banner__button:hover {
    background-color: #7A2DDD;
    transform: translateY(-1px);
}

.cookie-banner__button:active {
    background-color: #6B25C7;
    transform: translateY(0);
}

.cookie-banner__button--accept {
    background-color: #9557E4;
    color: #FFFFFF;
}

.cookie-banner__button--reject {
    background-color: #FFFFFF;
    color: #18072E;
}

.cookie-banner__button--reject:hover {
    background-color: #F1F5F9;
}

.cookie-banner__button--customize {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-modal.is-active {
    display: flex;
}

.cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.64);
    background-blend-mode: multiply;
    z-index: 1;
}

.cookie-modal__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    animation: modalFadeIn 0.3s ease;
}

.cookie-modal__content {
    background-color: #18072E;
    border-radius: 16px;
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #475569;
}

.cookie-modal__title {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    margin: 0;
}

.cookie-modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

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

.cookie-modal__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 16px;
    border-bottom: 1px solid #475569;
}

.cookie-modal__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-modal__item-title {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    margin: 0;
}

.cookie-modal__item-status {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    margin: 0;
}

.cookie-modal__item-description {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E2E8F0;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.cookie-toggle__slider::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.06), 0px 1px 3px 0px rgba(10, 13, 18, 0.1);
}

.cookie-toggle__input:checked + .cookie-toggle__slider {
    background-color: #9557E4;
}

.cookie-toggle__input:checked + .cookie-toggle__slider::before {
    transform: translateX(16px);
}

.cookie-toggle__input:disabled + .cookie-toggle__slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal__button {
    width: 100%;
    padding: 10px 16px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25em;
    text-align: center;
    color: #FFFFFF;
    background-color: #9557E4;
    border: none;
    border-radius: 800px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal__button:hover {
    background-color: #7A2DDD;
    transform: translateY(-1px);
}

.cookie-modal__button:active {
    background-color: #6B25C7;
    transform: translateY(0);
}

.cookie-modal__footer {
    text-align: center;
}

.cookie-modal__footer-link {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cookie-modal__footer-link:hover {
    opacity: 0.8;
}

/* Desktop styles */
@media (min-width: 769px) {
    .cookie-banner__container {
        max-width: 495px;
    }
    
    .cookie-banner__buttons {
        flex-wrap: nowrap;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner__container {
        padding: 24px 16px;
        max-width: 100%;
    }
    
    .cookie-banner__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner__button {
        width: 100%;
    }
    
    .cookie-modal__container {
        max-width: 100%;
    }
    
    .cookie-modal__content {
        padding: 16px;
    }
    
    .cookie-modal__item-header {
        flex-wrap: wrap;
        gap: 16px;
    }
}

