/**
 * OTP Email Login Styles
 *
 * @package WP_OTP_Email_Login
 * @subpackage Assets
 */

/* Form Container */
.wp-otp-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Group */
.wp-otp-form-group {
	margin-bottom: 20px;
}

/* Labels */
.wp-otp-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

/* Input Fields */
.wp-otp-input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

.wp-otp-input:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* OTP Input Specific */
.wp-otp-otp-input {
	text-align: center;
	font-size: 24px;
	letter-spacing: 8px;
	font-family: 'Courier New', monospace;
	font-weight: bold;
}

/* Description Text */
.wp-otp-description {
	margin-top: 8px;
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}

/* Buttons */
.wp-otp-submit-button,
.wp-otp-resend-button {
	width: 100%;
	padding: 12px 20px;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.wp-otp-submit-button:hover,
.wp-otp-resend-button:hover {
	background-color: #0056b3;
}

.wp-otp-submit-button:disabled,
.wp-otp-resend-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

.wp-otp-resend-button {
	background-color: #6c757d;
	margin-top: 10px;
}

.wp-otp-resend-button:hover {
	background-color: #5a6268;
}

/* Message Container */
.wp-otp-message {
	padding: 12px;
	border-radius: 4px;
	margin-top: 15px;
	font-size: 14px;
	line-height: 1.5;
}

.wp-otp-message-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.wp-otp-message-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Form Containers */
.wp-otp-email-login-register-form,
.wp-otp-email-login-login-form,
.wp-otp-email-login-verify-form {
	margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 480px) {
	.wp-otp-form {
		padding: 15px;
		margin: 10px;
	}

	.wp-otp-input {
		font-size: 14px;
		padding: 10px;
	}

	.wp-otp-otp-input {
		font-size: 20px;
		letter-spacing: 4px;
	}

	.wp-otp-submit-button,
	.wp-otp-resend-button {
		padding: 10px 15px;
		font-size: 14px;
	}
}

