/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Hide default WP login form during 2FA interception */
body.login #loginform {
	display: none !important;
}

body.login .message {
	display: none !important;
}

body.login {
	background: #f0f0f1;
}

#login {
	width: 100% !important;
	max-width: 420px !important;
}

/* 2FA Form Styles */
.wp-2fa-public-container {
	width: 100%;
	margin: 50px auto;
	padding: 30px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.wp-2fa-header {
	text-align: center;
	margin-bottom: 30px;
}

.wp-2fa-icon-wrap {
	background: rgba(34, 113, 177, 0.1);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.wp-2fa-title {
	margin: 0 0 10px;
	color: #1d2327;
	font-size: 24px;
	font-weight: 600;
}

.wp-2fa-description {
	margin: 0;
	color: #646970;
	font-size: 15px;
	line-height: 1.5;
}

.wp-2fa-form-group {
	margin-bottom: 25px;
}

.wp-2fa-submit-group {
	margin-bottom: 20px;
}

.wp-2fa-label {
	display: block;
	margin-bottom: 8px;
	color: #1d2327;
	font-weight: 600;
	font-size: 14px;
}

.wp-2fa-input {
	width: 100%;
	padding: 14px 15px;
	font-size: 24px;
	line-height: 1.5;
	color: #2c3338;
	border: 2px solid #dcdcdc;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
	letter-spacing: 8px;
	transition: border-color 0.2s ease;
	outline: none;
}

.wp-2fa-input:focus {
	border-color: #2271b1;
}

.wp-2fa-submit-btn {
	width: 100%;
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 14px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.wp-2fa-submit-btn:hover {
	background-color: #135e96;
}

.wp-2fa-footer {
	text-align: center;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f1;
}

.wp-2fa-help-link {
	color: #2271b1;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.wp-2fa-help-link:hover {
	color: #135e96;
}

.wp-2fa-error-message {
	max-width: 500px;
	margin: 20px auto;
	padding: 12px;
	background: #fff;
	border-left: 4px solid #d63638;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.resend-wrap {
	display: block;
	text-align: right;
	margin-top: 8px;
}

.resend_code {
	color: #2271b1;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s ease;
}