/**
 * Parrot Retail — mobile OTP login form styling.
 * Used by the [parrot_otp_login] shortcode (retail + dealer).
 */

.parrot-otp {
	max-width: 420px;
	margin: 0 auto;
	padding: 28px 24px;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 24px rgba( 0, 0, 0, 0.06 );
	box-sizing: border-box;
}

.parrot-otp__label {
	display: block;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.parrot-otp__label input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 400;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fafafa;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.parrot-otp__label input:focus {
	outline: none;
	border-color: #2271b1;
	background: #fff;
}

.parrot-otp__code {
	letter-spacing: 6px;
	text-align: center;
	font-size: 22px !important;
}

.parrot-otp__btn {
	display: block;
	width: 100%;
	padding: 13px 18px;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background 0.15s ease;
}

.parrot-otp__btn:hover {
	background: #185a8c;
}

.parrot-otp__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.parrot-otp__link {
	display: inline-block;
	width: 100%;
	margin-top: 12px;
	padding: 6px;
	font-size: 14px;
	color: #2271b1;
	background: none;
	border: none;
	cursor: pointer;
	text-align: center;
}

.parrot-otp__link:hover {
	text-decoration: underline;
}

.parrot-otp__link:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.parrot-otp__feedback {
	margin-top: 14px;
	font-size: 14px;
	text-align: center;
	min-height: 20px;
}

.parrot-otp__feedback.is-error {
	color: #b32d2e;
}

.parrot-otp__feedback.is-success {
	color: #1a7f37;
}

.parrot-otp--done {
	max-width: 420px;
	margin: 0 auto;
	padding: 24px;
	text-align: center;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background: #fff;
}
