/* Container & Wrapper Layout */
.ey-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f4f7f6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ey-form-container {
    background: #ffffff;
    max-width: 480px;
    width: 100%;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.08);
    border: 1px solid #e1e8e4;
    box-sizing: border-box;
}

/* Typography */
.ey-form-title {
    color: #1b5e20;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
}

.ey-status-msg {
    color: #666666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}

/* Fields & Form Elements */
.ey-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

    .ey-field label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #333333;
        margin-bottom: 8px;
        text-align: left;
    }

    .ey-field input[type="text"],
    .ey-field input[type="tel"],
    .ey-field input[type="password"] {
        width: 100%;
        padding: 12px 14px;
        font-size: 15px;
        border: 1px solid #cccccc;
        border-radius: 8px;
        background-color: #fafafa;
        color: #333333;
        transition: all 0.2s ease-in-out;
        box-sizing: border-box;
    }

    /* Focus States */
    .ey-field input:focus {
        outline: none;
        border-color: #2e7d32;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
    }

    .ey-field input:disabled {
        background-color: #eeeeee;
        color: #999999;
        cursor: not-allowed;
        border-color: #dddddd;
    }

/* Custom Row for Inline Action Layouts (Mobile, OTP, Sponsor) */
.ey-input-group {
    display: flex;
    gap: 10px;
}

    .ey-input-group input {
        flex: 1;
    }

/* Action Buttons */
#new-ey-send-otp-btn,
#new-ey-verify-otp-btn {
    width: auto;
    white-space: nowrap;
    padding: 0 20px;
    height: 46px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#new-ey-send-otp-btn {
    background: #0073aa;
    color: #ffffff;
}

    #new-ey-send-otp-btn:hover:not(:disabled) {
        background: #005f8d;
    }

#new-ey-verify-otp-btn {
    background: #f39c12;
    color: #ffffff;
}

    #new-ey-verify-otp-btn:hover:not(:disabled) {
        background: #d35400;
    }

/* Sponsor Lookup Buttons */
#new-ey-side-left,
#new-ey-side-right {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #cccccc;
    background: #fafafa;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
}

    #new-ey-side-left:enabled,
    #new-ey-side-right:enabled {
        background: #ffffff;
        cursor: pointer;
        border-color: #2e7d32;
        color: #2e7d32;
    }

    #new-ey-side-left:hover:enabled,
    #new-ey-side-right:hover:enabled {
        background: #e8f5e9;
    }

/* Master Sign Up Button */
#new-ey-create-account-btn {
    width: 100%;
    padding: 14px;
    background: #2e7d32;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

    #new-ey-create-account-btn:hover:not(:disabled) {
        background: #1b5e20;
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
    }

    #new-ey-create-account-btn:disabled {
        background: #a5d6a7;
        color: #ffffff;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

/* Login Link */
.ey-login-link {
    text-align: center;
    font-size: 14px;
    color: #666666;
    margin-top: 25px;
    margin-bottom: 0;
}

    .ey-login-link a {
        color: #2e7d32;
        text-decoration: none;
        font-weight: 600;
    }

        .ey-login-link a:hover {
            text-decoration: underline;
        }
