/* =========================================================
   PRELAUNCH · FLOATING MESSAGES
========================================================= */

.messages-container {
    position: absolute;

    top: -40px;
    left: 0;

    width: 100%;

    z-index: 50;

    pointer-events: none;
}


.prelaunch-form {
    position: relative;
    width: 100%;
}

.prelaunch-message {
    width: 100%;

    padding: .95rem 1rem;

    border-radius: 16px;

    font-size: .92rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;

    backdrop-filter: blur(14px);

    box-shadow:
        0 12px 32px rgba(0,0,0,.14),
        0 0 0 1px rgba(255,255,255,.08) inset;

    animation:
        prelaunchMessageIn .22s ease;
}

.prelaunch-message--error {
    background: rgba(255, 231, 231, .96);

    color: #b42318;

    border: 1px solid rgba(180, 35, 24, .14);
}

.prelaunch-message--success {
    background: rgba(232, 255, 240, .96);

    color: #157347;

    border: 1px solid rgba(21, 115, 71, .14);
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes prelaunchMessageIn {

    from {
        opacity: 0;

        transform:
            translateY(12px)
            scale(.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

