.vtbc-auth__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

a.vtbc-auth__trigger {
	text-decoration: none;
}

.vtbc-auth__trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 1em;
}

.vtbc-auth__trigger-icon i {
	font-size: 1em;
	line-height: 1;
	width: 1em;
	height: 1em;
}

.vtbc-auth__trigger-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: block;
}

.vtbc-auth__trigger:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
}

body.vtbc-auth-open {
	overflow: hidden;
}

.vtbc-auth__overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 1rem;
	animation: vtbc-fade-in 0.2s ease;
}

.vtbc-auth__overlay[hidden] {
	display: none !important;
}

@keyframes vtbc-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes vtbc-slide-up {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.vtbc-auth__modal {
	background: #fff;
	border-radius: 16px;
	padding: 2rem 1.75rem 1.75rem;
	width: min(440px, 94vw);
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
	animation: vtbc-slide-up 0.25s ease;
}

.vtbc-auth__close {
	position: absolute;
	top: 0.75rem;
	right: 0.85rem;
	border: 0;
	background: #f1f5f9;
	color: #64748b;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s;
}

.vtbc-auth__close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.vtbc-auth__brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.35rem;
}

.vtbc-auth__brand-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.1rem;
}

.vtbc-auth__brand-icon i {
	font-size: 1em;
	line-height: 1;
	width: 1em;
	height: 1em;
}

.vtbc-auth__brand-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: block;
}

.vtbc-auth__modal h3 {
	margin: 0 0 0.25rem;
	font-size: 1.35rem;
	color: #0f172a;
}

.vtbc-auth__subtitle {
	margin: 0 0 1.25rem;
	color: #64748b;
	font-size: 0.9rem;
}

.vtbc-auth__tabs {
	display: flex;
	gap: 0;
	margin-bottom: 1.25rem;
	background: #f1f5f9;
	border-radius: 10px;
	padding: 4px;
}

.vtbc-auth__tab {
	flex: 1;
	padding: 0.6rem 0.75rem;
	border: 0;
	background: transparent;
	border-radius: 8px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.vtbc-auth__tab.is-active {
	background: #fff;
	color: #0f766e;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.vtbc-auth__panel {
	display: none;
}

.vtbc-auth__panel.is-active {
	display: block;
}

.vtbc-auth__panel label {
	display: block;
	margin-bottom: 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
}

.vtbc-auth__panel input[type="text"],
.vtbc-auth__panel input[type="email"],
.vtbc-auth__panel input[type="password"] {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 0.95rem;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}

.vtbc-auth__panel input:focus {
	outline: none;
	border-color: #14b8a6;
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.vtbc-auth__remember {
	font-weight: 400 !important;
	display: flex !important;
	align-items: center;
	gap: 0.5rem;
}

.vtbc-auth__remember input {
	width: auto !important;
	margin: 0 !important;
}

.vtbc-auth__panel button[type="submit"] {
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.75rem;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: opacity 0.15s;
}

.vtbc-auth__panel button[type="submit"]:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.vtbc-auth__panel button[type="submit"].is-loading::after {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.5rem;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: vtbc-spin 0.6s linear infinite;
	vertical-align: middle;
}

@keyframes vtbc-spin {
	to { transform: rotate(360deg); }
}

.vtbc-auth__message {
	margin-top: 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.875rem;
}

.vtbc-auth__message--error {
	background: #fef2f2;
	color: #b91c1c;
}

.vtbc-auth__message--success {
	background: #f0fdf4;
	color: #166534;
}

.vtbc-auth__forgot-wrap {
	margin: 0 0 0.75rem;
	text-align: right;
}

.vtbc-auth__forgot-link {
	border: 0;
	background: none;
	padding: 0;
	color: #0f766e;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.vtbc-auth__divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1rem 0;
	color: #94a3b8;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vtbc-auth__divider::before,
.vtbc-auth__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

.vtbc-auth__google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	color: #334155;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.15s, border-color 0.15s;
}

.vtbc-auth__google:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.vtbc-auth__google-icon {
	flex-shrink: 0;
}

.vtbc-login-page {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 2.5rem 1rem;
	min-height: 60vh;
	box-sizing: border-box;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.vtbc-login-page__card {
	width: min(440px, 100%);
	margin: 0 auto;
	position: relative;
}

.vtbc-login-page__title {
	margin: 0 0 0.25rem;
	font-size: 1.45rem;
	color: #0f172a;
}

.vtbc-login-page__reset-title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	color: #0f172a;
}

.vtbc-login-page--logged-in {
	text-align: center;
	padding: 2rem;
}

.vtbc-auth.is-otp .vtbc-auth__tabs,
.vtbc-auth.is-otp .vtbc-auth__google,
.vtbc-auth.is-otp .vtbc-auth__divider {
	display: none;
}

.vtbc-otp__hint {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #475569;
}

.vtbc-auth__panel input[name="otp_code"] {
	letter-spacing: 0.35em;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.vtbc-otp__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	margin: 0.85rem 0 0;
}

.vtbc-otp-resend,
.vtbc-otp-back {
	border: 0;
	background: none;
	padding: 0;
	color: #0f766e;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.85rem;
}

.vtbc-otp-resend:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

