.oauthpress-frontend-toast-root {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 999999;
    pointer-events: none;
    width: min(360px, calc(100vw - 24px));
}

.oauthpress-frontend-toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: start;
    border-radius: 10px;
    padding: 10px 12px;
    color: #f6c5d2;
    background: linear-gradient(135deg, rgba(50, 16, 39, 0.94) 0%, rgba(34, 14, 48, 0.94) 100%);
    border: 1px solid rgba(255, 70, 110, 0.18);
    box-shadow: 0 8px 22px rgba(17, 5, 23, 0.30);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 180ms ease, transform 220ms ease;
    pointer-events: auto;
}

.oauthpress-frontend-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.oauthpress-frontend-toast__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ff5f83;
    background: rgba(255, 50, 95, 0.10);
}

.oauthpress-frontend-toast__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.oauthpress-frontend-toast__title {
    margin: 0;
    color: #ff6b8c;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.15;
}

.oauthpress-frontend-toast__message {
    margin: 0;
    color: rgba(255, 206, 218, 0.88);
    font-size: 14px;
    line-height: 1.3;
}

.oauthpress-frontend-toast__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ff6b8c;
    cursor: pointer;
    width: 18px;
    height: 18px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    opacity: 0.85;
}

@media (max-width: 680px) {
    .oauthpress-frontend-toast-root {
        top: 10px;
        right: 10px;
        width: calc(100vw - 16px);
    }

    .oauthpress-frontend-toast {
        gap: 8px;
        padding: 10px;
    }

    .oauthpress-frontend-toast__title {
        font-size: 16px;
    }

    .oauthpress-frontend-toast__message {
        font-size: 13px;
    }
}
