/* ================= W3M MODAL ================= */

.w3m-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.w3m-modal.is-open {
    display: block;
}

.w3m-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.78);
    backdrop-filter: blur(16px);
}

.w3m-modal__dialog {
    position: relative;
    max-width: 520px;
    margin: 80px auto;
    padding: 28px;
    border-radius: 22px;

    background:
        radial-gradient(600px 320px at 20% 0%, rgba(0, 255, 163, .25), transparent 60%),
        radial-gradient(520px 300px at 90% 30%, rgba(0, 194, 255, .25), transparent 60%),
        rgba(10, 14, 22, 0.94);

    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, .65),
        inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* close */
.w3m-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
}

/* glow */
.w3m-modal__glow {
    position: absolute;
    inset: -2px;
    pointer-events: none;
    filter: blur(16px);
    background:
        radial-gradient(700px 280px at 30% 0%, rgba(0, 255, 163, .25), transparent 60%),
        radial-gradient(520px 260px at 90% 20%, rgba(0, 194, 255, .22), transparent 60%);
}

/* ================= FORM ================= */

.w3m-form-container {
    position: relative;
    z-index: 2;
}

.w3m-form-title {
    color: #fff;
    font-size: 26px;
    margin-bottom: 6px;
}

.w3m-form-subtitle {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .7);
}

/* inputs */
.w3m-input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    margin-bottom: 12px;
}

.w3m-input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.w3m-input:focus {
    outline: none;
    border-color: #00ffa3;
    box-shadow: 0 0 0 3px rgba(0, 255, 163, .18);
}

/* button */
.w3m-btn {
    width: 100%;
    height: 54px;
    margin-top: 6px;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    cursor: pointer;

    background: linear-gradient(90deg, #00ffa3, #00c2ff);
    color: #081014;
}

.w3m-btn:hover {
    filter: brightness(1.05);
}

/* alerts */
.w3m-form .form-alert {
    margin-top: 14px;
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 80, 120, .15);
    border: 1px solid rgba(255, 80, 120, .35);
    color: #fff;
}