@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200,0,300,0,400,0,500,0,600,0,700,0,800,0,900;1,200,1,300,1,400,1,500,1,600,1,700,1,800,900&display=swap');

* {
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
}


.form-container {
    padding: 40px;
    width: 100%;
    max-width: 570px;
    border-radius: 10px;
    border: 1px solid #DEE4ED;
    background: #FFF;
    box-shadow: 0px 2px 40px 0px rgba(0, 0, 0, 0.06);
    margin: auto;
}

.form-title-heading {
    color: #333;
    text-align: center;
    font-family: "Source Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 23px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 11px 20px;
    font-size: 15px;
    border: 1px solid #DEE4ED;
    border-radius: 6px;
    background: transparent;
    outline: none;
    max-height: 48px;
    color: #333;
}

.form-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: white;
    padding: 0 4px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.2s ease;
    margin-bottom: 0px;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: 0px;
    left: 17px;
    font-size: 12px;
    color: #999;
}

.phone-input {
    display: flex;
    gap: 0px;
}

.phone-input select.country-code {
    border-right: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.phone-input .form-group input#phone {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.country-code {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #DEE4ED;
    border-radius: 6px;
    /* background: white; */
    font-size: 14px;
    max-height: 48px;
}

.proceed-btn {
    width: 100%;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    min-height: 48px;
    margin-top: 12px;
    border-radius: 4px;
    background: #343E55;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.08px;
}

.login-link {
    color: #1A1A1A;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 16px;
    letter-spacing: 0.014px;
}

.login-link a {
    color: #4275D6;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.8px;
}

.phone-input .form-group input#phone:focus+.form-label,
.phone-input .form-group input#phone:not(:placeholder-shown)+.form-label {
    top: 0px;
    left: -62px;
    font-size: 12px;
    color: #999;
}

.select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

label {
    position: absolute;
    top: -10px;
    left: 17px;
    background: white;
    padding: 0 4px;
    font-size: 12px;
    color: #888;
    z-index: 1;
}

select {
    width: 100%;
    padding: 11px 20px;
    font-size: 14px;
    border: 1px solid #DEE4ED;
    border-radius: 6px;
    appearance: none;
    background-color: white;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    color: #333;
    /* box-shadow: 0 0 0 1px #e0e0e0; */
}

select:focus {
    outline: none;
    border-color: #DEE4ED;
    /* box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); */
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    text-align: left;
}

input.form-input.invalid {
    border: 1px solid #FB3232;
}

.error-message.active {
    display: block;
}

.signup-form.hide,
.hide {
    display: none;
}



/* OTP verification css */
.verification-text {
    color: #333;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.035px;
}

.proceed-btn.disabled,
.proceed-btn:disabled {
    border-radius: 4px;
    background-color: #E4E4E4;
    color: #999;
    cursor: not-allowed;
}

.send-otp-text {
    text-align: right;
    width: 50%;
    line-height: 20px;
    margin-bottom: 10px;
    float: right;
}

.send-otp-text a {
    color: #343E55 !important;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.06px;
}

.send-otp-text a:hover {
    color: #2bbcca !important;
}

.waiting-otp-text {
    color: #999;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.06px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.success-otp {
    color: #139e34;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.06px;
    margin-top: 5px;
    margin-bottom: 10px;
    display: none;
}

.show {
    display: block !important;
}

.otp-status {
    text-align: left;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.06px;
    display: inline-block;
    width: 50%;
    float: left;
}

.otp-status.success {
    color: green;
}

.otp-status.error {
    color: red;
}

/* end OTP verification css */

.subheading {
    color: #333;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.035px;
    width: 78%;
    margin: auto;
}



/* alerts css */

.alert-success {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background: #D5FFEF;
    justify-content: space-between;
    background-color: #d4f5dd;
    color: #1A1A1A;
    padding: 12px;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    margin: auto;
}

.alert-success .icon,.alert-error .icon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-icon-error,.alert-icon-success{
    display: none;
}
.alert-success .icon img.alert-icon-success,.alert-error .icon img.alert-icon-error {
    width: 24px;
    height: 24px;
    display: block;
}

.alert-success .close-btn,.alert-error .close-btn {
    background: transparent;
    border: none;
    font-size: 40px;
    color: #1A1A1A;
    cursor: pointer;
    line-height: 24px;
    font-weight: 200 !important;
}

.alert-success .icon span , .alert-error .icon span {
    color: #1A1A1A;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.035px;
}

.alert-success .close-btn:hover {
    color: #1A1A1A;
}

.alert-error {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: #FFD9D9;
    justify-content: space-between;
    color: #1A1A1A;
    padding: 12px;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    margin: auto;
}

.subheading a {
    color: #4791B3;
    font-weight: 600;
}