.cookie-banner {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    width: calc(100% - 48px);
    min-width: 190px;
    max-width: 400px;

    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    display: none;
}

.cookie-banner__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.cookie-banner__button {
    width: 100%;
    padding: 12px 24px;

    background: var(--color_pink);
    color: #fff;
    border: none;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;

    transition: background 0.3s ease;
}

.cookie-banner__button:hover {
    background: var(--color_pink_hover);
}

.cookie-banner__button:active {
    transform: scale(0.98);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

.consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.consent-modal.active {
    display: flex;
}

.consent-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.consent-modal__content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.consent-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent-modal__close:hover {
    color: #000;
}

.consent-modal__body {
    padding: 40px 32px 32px;
}

.consent-modal__title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.consent-modal__text {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.consent-modal__link {
    color: #4CAF50;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.consent-modal__link:hover {
    color: #45a049;
    text-decoration: none;
}

.consent-modal__buttons {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.consent-modal__button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consent-modal__button--primary {
    background: var(--color_pink);
    color: #fff;
}

.consent-modal__button--primary:hover {
    background: var(--color_pink_hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.consent-modal__button--secondary {
    background: #f5f5f5;
    color: #666;
}

.consent-modal__button--secondary:hover {
    background: #e0e0e0;
}

.consent-modal__button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 150px;
        width: calc(100% - 32px);
    }

    .cookie-banner__content {
        padding: 16px;
    }

    .cookie-banner__text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .consent-modal__content {
        width: 95%;
        border-radius: 8px;
    }

    .consent-modal__body {
        padding: 32px 20px 24px;
    }

    .consent-modal__title {
        font-size: 18px;
    }

    .consent-modal__text {
        font-size: 14px;
    }
}