/* ── Shared state container ── */
.upifyy-myac-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 28px 32px;
    text-align: center;
    gap: 14px;
}

/* ── Big icon ── */
.upifyy-myac-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2rem;
}

/* Logged-out icon – red tint */
.upifyy-myac-loggedout .upifyy-myac-icon {
    background: #fef0f0;
    color: #e02020;
}

/* Logged-in icon – green tint */
.upifyy-myac-loggedin .upifyy-myac-icon {
    background: #eafaf1;
    color: #1a7a3c;
}

/* ── Message ── */
.upifyy-myac-message {
    font-size: .95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

/* ── Action buttons row ── */
.upifyy-myac-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* ── Base button ── */
.upifyy-myac-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, transform .1s, box-shadow .18s;
    font-family: inherit;
    letter-spacing: .2px;
    white-space: nowrap;
}

.upifyy-myac-btn i {
    font-size: 1rem;
}

.upifyy-myac-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.upifyy-myac-btn:active {
    transform: scale(.97);
}

/* Login – solid red */
.upifyy-myac-btn--login {
    background: #e02020;
    color: #fff;
}

.upifyy-myac-btn--login:hover {
    background: #c01818;
    color: #fff;
}

/* Register – outlined red */
.upifyy-myac-btn--register {
    background: #fff;
    color: #e02020;
    border: 2px solid #e02020;
}

.upifyy-myac-btn--register:hover {
    background: #fef0f0;
    color: #c01818;
    border-color: #c01818;
}

/* My Account – solid green */
.upifyy-myac-btn--account {
    background: #1a7a3c;
    color: #fff;
    width: 100%;
    justify-content: center;
}

.upifyy-myac-btn--account:hover {
    background: #155f2f;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 400px) {
    .upifyy-myac-wrap {
        border-radius: 0;
        box-shadow: none;
    }

    .upifyy-myac-state {
        padding: 28px 18px 24px;
    }

    .upifyy-myac-actions {
        flex-direction: column;
    }

    .upifyy-myac-btn {
        width: 100%;
        justify-content: center;
    }
}