/**
 * ExoticMeetup - Phone Verification
 * Mockup / test interface
 */


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.em-phone-verification {
    width: 100%;
    max-width: 620px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* =========================================================
   CARD
   ========================================================= */

.em-phone-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 38px 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.em-phone-header {
    text-align: center;
    margin-bottom: 32px;
}

.em-phone-header h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
}

.em-phone-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.em-phone-field {
    margin-bottom: 20px;
}

.em-phone-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

.em-phone-field input,
.em-phone-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.em-phone-field input:focus,
.em-phone-field select:focus {
    outline: none;
    border-color: #777777;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   MAIN BUTTON
   ========================================================= */

.em-phone-button {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    padding: 12px 20px;

    border: 0;
    border-radius: 6px;

    background: #333333;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.em-phone-button:hover {
    background: #111111;
}

.em-phone-button:active {
    transform: translateY(1px);
}

.em-phone-button:focus {
    outline: 2px solid #777777;
    outline-offset: 2px;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.em-phone-disclaimer {
    margin: 14px 0 0;
    text-align: center;
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   STATUS / ERROR MESSAGES
   ========================================================= */

.em-phone-message {
    display: none;
    margin: -5px 0 16px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.5;
}

.em-phone-message.em-error {
    display: block;
    background: #fff2f2;
    border: 1px solid #e8b5b5;
    color: #9c2727;
}

.em-phone-message.em-success {
    display: block;
    background: #f1faf3;
    border: 1px solid #b9ddc0;
    color: #28733a;
}


/* =========================================================
   OTP SCREEN
   ========================================================= */

.em-code-sent {
    margin: 0 0 24px;
    text-align: center;
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

.em-code-sent strong {
    display: block;
    margin-top: 4px;
    color: #222222;
    font-size: 17px;
}


/*
 * The current mockup uses one input field for the
 * six-digit verification code.
 */

#em-verification-code {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 8px;
}


/* =========================================================
   RESEND / CHANGE NUMBER
   ========================================================= */

.em-resend-area {
    margin-top: 24px;
    text-align: center;
}

.em-resend-area p {
    margin: 0 0 5px;
    color: #666666;
    font-size: 13px;
}

.em-phone-link {
    display: block;
    margin: 8px auto 0;
    padding: 3px;

    border: 0;
    background: transparent;

    color: #555555;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: underline;
}

.em-phone-link:hover {
    color: #111111;
}

.em-phone-link:disabled {
    color: #999999;
    cursor: default;
    text-decoration: none;
}


/* =========================================================
   SUCCESS SCREEN
   ========================================================= */

#em-phone-step-success {
    text-align: center;
    padding: 15px 0 5px;
}

.em-phone-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border: 3px solid #3f8a50;
    border-radius: 50%;

    color: #3f8a50;
    font-size: 34px;
    font-weight: 600;
}

#em-phone-step-success h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
}

#em-phone-step-success p {
    margin: 0 auto 10px;
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

#em-phone-step-success .em-phone-success-note {
    margin-top: 20px;
    color: #888888;
    font-size: 12px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .em-phone-verification {
        margin: 20px auto;
        padding: 0 12px;
    }

    .em-phone-card {
        padding: 28px 20px;
        border-radius: 9px;
    }

    .em-phone-header {
        margin-bottom: 26px;
    }

    .em-phone-header h2 {
        font-size: 24px;
    }

    .em-phone-field input,
    .em-phone-field select {
        font-size: 16px;
    }

    #em-verification-code {
        font-size: 22px;
        letter-spacing: 6px;
    }
}