/* General Form Styling */
.sfs-form {
    max-width: 450px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Input and Textarea */
.sfs-form input[type="text"],
.sfs-form input[type="tel"],
.sfs-form input[type="email"],
.sfs-form input[type="file"],
.sfs-form input[type="number"],
.sfs-form input[type="password"],
.sfs-form input[type="otp"],
.sfs-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.2s border-color ease;
    color:#013024;
}

.sfs-form input:focus,
.sfs-form textarea:focus {
    outline: none;
    border-color: #0073aa;
}

/* Button Styling */
.sfs-form button[type="button"],
.sfs-form button[type="submit"] {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sfs-form button:hover {
    background-color: #005b8c;
}

/* OTP Timer Text */
#sfs_otp_timer {
    font-size: 14px;
    color: #777;
    display: inline-block;
    margin-bottom: 10px;
}

/* OTP-based form logic – hide main fields until OTP is verified */
#sfs_otp_fieldset,
#sfs_main_form {
    display: none;
}

/* Show after OTP is sent */
.sfs-otp-sent #sfs_otp_fieldset {
    display: block;
}

/* Show full form after OTP verified */
.sfs-otp-verified #sfs_main_form {
    display: block;
}

.sfs-loader {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.sfs-loader img {
    width: 40px;
    height: 40px;
}


/* Extra small screen responsiveness */
@media screen and (max-width: 500px) {
    .sfs-form {
        margin: 20px;
        padding: 15px;
    }
}
