/* ==========================================================================
   Identity Design — Auth (login / register / lost-password on My Account)
   CSS riêng, chỉ áp dụng trên các trang tài khoản.
   ========================================================================== */

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	font-family: "Be Vietnam Pro", Montserrat, Arial, sans-serif;
}

.id21-auth-notice {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 600;
}
.id21-auth-notice-success {
	background: rgba(53, 209, 47, 0.1);
	border: 1px solid #35d12f;
	color: #1a7a12;
}
.id21-auth-notice-error {
	background: rgba(220, 53, 69, 0.08);
	border: 1px solid #dc3545;
	color: #a3212f;
}

.id21-password-field,
.id21-password-toggle-wrap {
	position: relative;
	display: block;
}
.id21-password-toggle-wrap input[type="password"],
.id21-password-toggle-wrap input[type="text"] {
	padding-right: 60px !important;
	width: 100%;
}
.id21-password-toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #1432ff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 8px;
}

.id21-password-strength {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-top: 6px;
}
.id21-password-strength.is-0,
.id21-password-strength.is-1,
.id21-password-strength.is-weak {
	color: #dc3545;
}
.id21-password-strength.is-2 {
	color: #d18f00;
}
.id21-password-strength.is-3,
.id21-password-strength.is-4 {
	color: #1a7a12;
}
.id21-password-hint {
	display: block;
	font-size: 12px;
	color: #5f6270;
	margin-top: 4px;
}

.id21-resend-verification {
	margin-top: 16px;
	font-size: 13px;
}
.id21-resend-verification summary {
	cursor: pointer;
	color: #1432ff;
	font-weight: 600;
}
.id21-resend-verification form {
	margin-top: 10px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.id21-resend-verification input[type="email"] {
	flex: 1;
	min-width: 200px;
	padding: 8px 10px;
	border: 1px solid #dfe1e8;
	border-radius: 6px;
}
.id21-resend-verification button {
	background: #1432ff;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================================
   Standalone /dang-nhap/ and /dang-ky/ pages
   ========================================================================== */

body.id21-auth-page,
body.id21-auth-page *,
body.id21-auth-page *::before,
body.id21-auth-page *::after {
	box-sizing: border-box;
}
body.id21-auth-page {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #070915;
	font-family: "Be Vietnam Pro", Montserrat, Arial, sans-serif;
	padding: 40px 16px;
}
.id21-auth-shell {
	width: 100%;
	display: flex;
	justify-content: center;
}
.id21-auth-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 14px;
	padding: 40px 36px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.id21-auth-logo {
	display: block;
	text-align: center;
	font-weight: 800;
	color: #1432ff;
	text-decoration: none;
	margin-bottom: 20px;
	text-transform: lowercase;
	letter-spacing: 0.02em;
}
.id21-auth-card h1 {
	font-size: 22px;
	font-weight: 800;
	text-align: center;
	margin: 0 0 24px;
}
.id21-auth-card .form-row label {
	font-weight: 600;
	font-size: 13px;
	display: block;
	margin-bottom: 6px;
}
.id21-auth-card input[type="text"],
.id21-auth-card input[type="email"],
.id21-auth-card input[type="tel"],
.id21-auth-card input[type="password"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #dfe1e8;
	border-radius: 8px;
	font-size: 14px;
}
.id21-auth-row-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
}
.id21-auth-link {
	color: #1432ff;
	text-decoration: none;
	font-weight: 600;
}
.id21-auth-submit {
	display: block;
	width: 100%;
	background: #1432ff;
	color: #fff;
	border: none;
	padding: 13px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 4px #071bb5;
	margin-top: 8px;
}
.id21-auth-switch {
	text-align: center;
	font-size: 13px;
	margin-top: 20px;
	color: #5f6270;
}
.id21-auth-switch a {
	color: #1432ff;
	font-weight: 700;
	text-decoration: none;
}
.id21-auth-privacy {
	font-size: 11px;
	color: #9198bd;
	text-align: center;
	margin-top: 12px;
}

/* Password + confirm password side by side, as requested. */
.id21-password-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 480px) {
	.id21-password-pair {
		grid-template-columns: 1fr;
	}
	.id21-auth-card {
		padding: 32px 22px;
	}
}
