@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2'),
    url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'),
    url('../fonts/woff/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

#exino_phone_form {
    max-width: 350px;
    margin: auto;
    text-align: center;
    font-family: "YekanBakhFaNum", Arial, sans-serif;
}

#phone_input_section {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 50px;
    display: flex;
    flex-direction: column;  /* Arrange items vertically */
    align-items: center;
    gap: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

#phone_number {
    width: 90%;
    direction: ltr;
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    font-size: 15px;
    padding: 10px;
    text-align: left;
    outline-color: #b5b5b5;
}
#phone_number::-webkit-outer-spin-button,
#phone_number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#phone_number {
    -moz-appearance: textfield;
}
#phone_number:focus {
    border: none;
    outline: 1px solid #b5b5b5 !important; /* Your custom outline */
}

#phone_number::placeholder {
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    font-size: 12px;
    color: #92A2C4;
    text-align: right;
}
#phone_form_title{
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #7F7F7F;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

#send_otp {
    width: 90%;
    background: #D32789;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    font-size: 15px;
    transition: background-color 0.3s, opacity 0.3s;
}

#send_otp:hover {
    background: #a80664;
    transform: scale(1.01);
}

#send_otp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#otp_section {
    display: none;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

#otp_fields {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: row-reverse;
    border: none;
}


.otp_input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 15px;
    border-radius: 5px !important;
    border: none !important;
    background: white;
    transition: 0.3s;
    direction: ltr;
    box-shadow: 0 0 3px #be3d89;
}

.otp_input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: 0 0 5px #D32789; /* Smooth glow effect */
}
.otp_input::-webkit-outer-spin-button,
.otp_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove arrows for Firefox */
.otp_input {
    -moz-appearance: textfield;
}

#timer_message {
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    margin-top: 10px;
    font-size: 14px;
    color: #7F7F7F;
}
#timer_message span {
    display: block;
    margin-top: 5px;
}

/* 🔁 دکمه ارسال مجدد و ویرایش شماره */
#resend_otp {
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    background: none;
    border: none;
    color: #7F7F7F;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: none;
}
#edit_number{
    font-family: "YekanBakhFaNum", Arial, sans-serif;
    background: none;
    border: none;
    color: #D32789;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: none;
}

#resend_otp:hover, #edit_number:hover {
    text-decoration: none;
}


.phone-icon, .otp-icon {
    width: 24px;
    height: 24px;
}
.share_button{
    font-family: 'YekanBakhFaNum', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    width: 200px;
    background: #f5f5f5 !important;
    border-radius: 20px;
    color: #10AD69 !important;
    border: none;
    padding: 8px 10px;
}
.share_button:hover{
    font-family: 'YekanBakhFaNum', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    width: 200px;
    background: #f5f5f5 !important;
    border: none;
    border-radius: 20px;
    color: #10AD69 !important;
    padding: 8px 10px;
}
@media screen and (max-width: 640px) {
    font-family: 'YekanBakhFaNum', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    width: 50px;
    background: #f5f5f5 !important;
    border-radius: 20px;
    color: #10AD69 !important;
    border: none;
    padding: 5px 8px;
}
#toast-container > .toast-success {
    background-color: #28a745 !important;
    color: #fff;
}

#toast-container > .toast-error {
    background-color: #dc3545 !important;
    color: #fff;
}

#toast-container > .toast-info {
    background-color: #17a2b8 !important;
    color: #fff;
}

#toast-container > .toast-warning {
    background-color: #ffc107 !important;
    color: #000;
}

#toast-container > div {
    width: 350px;
    font-size: 15px;
    font-family: 'YekanBakhFaNum', Arial, sans-serif;
}

#toast-container > .toast {
    border-radius: 10px;
}