#fm-form {
    max-width: 650px;
    font-family: Arial, sans-serif;
}

#fm-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 500;
}

/* Inputs */
#fm-form input,
#fm-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f5f5f5;
}

/* OTP group */
.fm-group {
    display: flex;
}

.fm-group input {
    flex: 1;
    border-right: none;
}

.fm-group button {
    width: 130px;
    border: none;
    background: #007bff;
    color: #fff;
	cursor: pointer;
}

/* Verify button */
#fm-verify {
    background: #28a745;
}

/* Human check */
.fm-human {
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.fm-icons span {
    font-size: 20px;
    margin: 0 10px;
    cursor: pointer;
}

/* Submit */
.fm-submit {
	padding: 10px 12px;
	color: white;
	background: #1A1A1A;
	min-width: 96px;
	outline: none;
	border: none;
	border-radius: 0;
	-webkit-appearance: none;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	margin-top: 20px;
}

.fm-submit:hover {
	background: #4D4D4D;
	cursor: pointer;
}

.fm-captcha {
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.fm-captcha-options span {
    font-size: 22px;
    margin: 0 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
}

.fm-captcha-options span.active {
    background: #007bff;
    color: #fff;
}

.fm-captcha p {
	margin: 0;
}

/* Error text */
.fm-error {
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
    display: none;
	opacity: 0;
    transition: 0.2s;
}

/* Error text */
.fm-field.error .fm-error {
    display: block;
    opacity: 1;
}

/* Error input */
.fm-field.error input,
.fm-field.error textarea {
    border-color: #dc3232;
}

/* Smooth look */
.fm-field {
    margin-bottom: 15px;
}

/* Error border for captcha */
.fm-captcha-field.error .fm-captcha {
    border: 1px solid #dc3232;
}

/* Error text already handled */

.fm-captcha-field {
    margin-top: 20px;
}

/* Full screen loader */
#fm-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9999;
}

/* Spinner */
.fm-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: fm-spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
}

.fm-field label .required {
	color: #e74c3c;
}

@keyframes fm-spin {
    to {
        transform: rotate(360deg);
    }
}