.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    padding: 16px;
    background: #ffffff;
    border-top: 3px solid #20bb73;
    box-shadow: 0 -8px 30px rgba(13, 21, 44, 0.12);
    transform: translateY(110%);
    transition: transform 0.35s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent__content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-consent__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(32, 187, 115, 0.12);
    color: #20bb73;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-consent__svg {
    width: 24px;
    height: 24px;
    display: block;
}

.cookie-consent__title {
    display: block;
    color: #0d152c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cookie-consent__desc {
    color: #696969;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent__desc a {
    color: #20bb73;
    text-decoration: underline;
}

.cookie-consent__desc a:hover {
    color: #1ab06a;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn--ghost {
    background: #ffffff;
    color: #0d152c;
    border: 1px solid #d9dde8;
}

.cookie-consent__btn--ghost:hover {
    border-color: #20bb73;
    color: #20bb73;
}

.cookie-settings-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9997;
    min-width: 48px;
    height: 48px;
    padding: 0 14px 0 12px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #20bb73;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(13, 21, 44, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cookie-settings-btn__icon {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

.cookie-settings-btn__label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.cookie-settings-btn:hover {
    background: #1ab06a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 21, 44, 0.22);
}

.cookie-settings-btn.is-hidden {
    display: none;
}

.night-mode .cookie-consent {
    background: #1a2238;
    border-top-color: #20bb73;
}

.night-mode .cookie-consent__title {
    color: #ffffff;
}

.night-mode .cookie-consent__desc {
    color: rgba(255, 255, 255, 0.75);
}

.night-mode .cookie-consent__btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent__btn {
        width: 100%;
    }

    .cookie-settings-btn {
        left: 16px;
        bottom: 16px;
    }
}

@media (max-width: 575px) {
    .cookie-consent {
        padding: 14px;
    }

    .cookie-consent__content {
        gap: 12px;
    }

    .cookie-consent__icon {
        width: 38px;
        height: 38px;
    }

    .cookie-consent__svg {
        width: 20px;
        height: 20px;
    }

    .cookie-settings-btn__label {
        display: none;
    }

    .cookie-settings-btn {
        width: 48px;
        min-width: 48px;
        padding: 0;
    }
}
