/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c1c1c;
    border-top: 1px solid rgba(171, 137, 101, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

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

.cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cookie-consent__text {
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: #acacac;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-consent__btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: #ab8965;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #8b6f63;
    transform: translateY(-2px);
}

.cookie-consent__btn--decline {
    background: transparent;
    color: #acacac;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent__btn--decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.cookie-consent__btn--settings {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(171, 137, 101, 0.5);
}

.cookie-consent__btn--settings:hover {
    background: #ab8965;
    border-color: #ab8965;
    color: #fff;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal__content {
    position: relative;
    background: #1c1c1c;
    border: 1px solid rgba(171, 137, 101, 0.3);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    animation: slideDown 0.3s ease-out;
}

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

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-modal__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cookie-modal__close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #acacac;
    transition: all 0.3s ease;
}

.cookie-modal__close:hover {
    color: #ab8965;
    transform: rotate(90deg);
}

.cookie-modal__body {
    padding: 1.5rem;
}

.cookie-modal__footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-end;
}

/* Cookie Category */
.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(171, 137, 101, 0.1);
    border: 1px solid rgba(171, 137, 101, 0.2);
    border-radius: 8px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category__info {
    flex: 1;
}

.cookie-category__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cookie-category__description {
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: #acacac;
}

/* Cookie Toggle */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-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: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background-color: #ab8965;
}

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

.cookie-toggle--disabled .cookie-toggle__slider {
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
        text-align: center;
    }

    .cookie-modal__content {
        max-height: 95vh;
    }

    .cookie-modal__footer {
        flex-direction: column;
    }

    .cookie-modal__footer .cookie-consent__btn {
        width: 100%;
    }

    .cookie-category__header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-consent__container {
        padding: 1rem;
    }

    .cookie-consent__title {
        font-size: 1rem;
    }

    .cookie-consent__text {
        font-size: 0.8125rem;
    }

    .cookie-consent__actions {
        flex-direction: column;
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1rem;
    }
}
