﻿
.otp-container {
    direction: ltr; /* Ensure the OTP inputs are left-to-right */
}

@media only screen and (max-width: 768px) {
    .otp-input {
        width: 30px;
        padding: 5px;
        font-size: 14px;
        text-align: center;
        margin: 0 1px;
        border: 2px dashed #ced4da;
        border-radius: 4px;
        transition: border-color 0.3s;
    }
}

@media only screen and (min-width: 768px) {
    .otp-input {
        width: 42px;
        padding: 5px;
        font-size: 16px;
        text-align: center;
        margin: 0 1px;
        border: 2px dashed #ced4da;
        border-radius: 4px;
        transition: border-color 0.3s;
    }
}

.otp-input:focus {
    border-color: #80bdff;
    outline: none;
}

.otp-input.invalid {
    border-color: red;
}

.otp-input.valid {
    border-color: green;
}

#resendBtn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Additional Styles for RTL */
body {
    direction: rtl; /* Ensure the rest of the page is RTL */
}

/* Optional: Adjust button and timer alignment */
.resend-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .resend-section button {
        margin-left: 10px;
    }
