.cookie-consent {
    position: fixed;
    right: clamp(16px, 4vw, 32px);
    bottom: clamp(16px, 4vw, 32px);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(640px, calc(100vw - 32px));
    padding: 18px;
    color: #f8fcfc;
    background: rgba(20, 34, 38, 0.96);
    border: 1px solid rgba(124, 232, 234, 0.28);
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(3, 18, 23, 0.32);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent--closing {
    opacity: 0;
    transform: translateY(12px);
}

.cookie-consent__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-consent__copy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.96rem;
    line-height: 1.3;
}

.cookie-consent__copy p {
    margin: 0;
    color: #d9eeee;
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 42px;
    padding: 0 18px;
    color: #0e2226;
    font: inherit;
    font-weight: 700;
    background: #7ce8ea;
    border: 1px solid #7ce8ea;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-consent__button:hover {
    background: #9ff5f6;
    border-color: #9ff5f6;
    transform: translateY(-1px);
}

.cookie-consent__button--ghost {
    color: #f8fcfc;
    background: transparent;
    border-color: rgba(248, 252, 252, 0.34);
}

.cookie-consent__button--ghost:hover {
    color: #0e2226;
}

@media (max-width: 640px) {
    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        flex-direction: column;
        align-items: stretch;
        width: auto;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__button {
        flex: 1 1 0;
    }
}
