/**
 * BookSnap Customer Account — Styles
 * All rules scoped under .bs-account-wrap or .bs-account-gate
 * @package BookSnap @since 1.0.0
 */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
.bs-account-wrap,
.bs-account-gate {
	--bs-accent:      #4F46E5;
	--bs-accent-h:    #4338CA;
	--bs-accent-l:    #EEF2FF;
	--bs-accent-m:    #C7D2FE;
	--bs-bg:          #F5F6FA;
	--bs-surface:     #FFFFFF;
	--bs-surface-2:   #F8F9FC;
	--bs-border:      #E5E7EB;
	--bs-text-1:      #111827;
	--bs-text-2:      #374151;
	--bs-text-3:      #6B7280;
	--bs-text-4:      #9CA3AF;
	--bs-green:       #059669;
	--bs-green-bg:    #ECFDF5;
	--bs-amber:       #D97706;
	--bs-amber-bg:    #FFFBEB;
	--bs-red:         #DC2626;
	--bs-red-bg:      #FEF2F2;
	--bs-radius:      14px;
	--bs-radius-sm:   8px;
	--bs-shadow:      0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
	--bs-font:        -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
	--bs-mono:        "SF Mono", "Fira Code", ui-monospace, monospace;
	--bs-ease:        cubic-bezier(.4,0,.2,1);

	font-family: var(--bs-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--bs-text-1);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}

.bs-account-wrap *,
.bs-account-gate * {
	box-sizing: inherit;
}

/* ── Login gate ───────────────────────────────────────────────────────────── */
.bs-account-gate {
	text-align: center;
	padding: 60px 24px;
	max-width: 440px;
	margin: 0 auto;
}

.bs-gate-icon {
	font-size: 40px;
	margin-bottom: 16px;
	line-height: 1;
}

.bs-gate-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--bs-text-1);
	letter-spacing: -.025em;
	margin: 0 0 8px;
}

.bs-gate-desc {
	font-size: 15px;
	color: var(--bs-text-3);
	margin: 0 0 24px;
	line-height: 1.6;
}

.bs-gate-btn {
	display: inline-block;
	background: var(--bs-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	padding: 13px 28px;
	border-radius: var(--bs-radius-sm);
	transition: background .15s;
	box-shadow: 0 4px 14px rgba(79,70,229,.28);
}

.bs-gate-btn:hover { background: var(--bs-accent-h); color: #fff; text-decoration: none; }

.bs-gate-hint {
	font-size: 13px;
	color: var(--bs-text-4);
	margin: 16px 0 0;
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
@keyframes bsAccSpin { to { transform: rotate(360deg); } }

.bs-acc-spinner {
	width: 40px; height: 40px;
	border: 3px solid var(--bs-accent-m);
	border-top-color: var(--bs-accent);
	border-radius: 50%;
	animation: bsAccSpin .7s linear infinite;
	margin: 60px auto;
	display: block;
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.bs-acc-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	align-items: start;
	max-width: 1000px;
}

@media (max-width: 680px) {
	.bs-acc-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.bs-acc-sidebar {
	background: var(--bs-surface);
	border: 1px solid var(--bs-border);
	border-radius: var(--bs-radius);
	overflow: hidden;
	box-shadow: var(--bs-shadow);
}

.bs-acc-profile {
	background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-h) 100%);
	padding: 20px 18px;
	text-align: center;
}

.bs-acc-avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	background: rgba(255,255,255,.25);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	letter-spacing: -.02em;
}

.bs-acc-name {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 2px;
}

.bs-acc-email {
	font-size: 12px;
	color: rgba(255,255,255,.7);
	margin: 0;
	word-break: break-all;
}

.bs-acc-nav {
	padding: 6px 0;
}

.bs-acc-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 16px;
	border: none;
	border-bottom: 1px solid var(--bs-border);
	background: transparent;
	text-align: left;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--bs-text-2);
	cursor: pointer;
	font-family: var(--bs-font);
	transition: background .14s, color .14s;
	position: relative;
}

.bs-acc-nav-item:last-child { border-bottom: none; }
.bs-acc-nav-item:hover { background: var(--bs-surface-2); color: var(--bs-text-1); }

.bs-acc-nav-item--active {
	background: var(--bs-accent-l);
	color: var(--bs-accent);
	font-weight: 600;
}

.bs-acc-nav-item--active::before {
	content: '';
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--bs-accent);
	border-radius: 0 2px 2px 0;
}

.bs-acc-nav-icon { font-size: 15px; flex-shrink: 0; }

.bs-acc-nav-logout {
	color: var(--bs-red) !important;
}

.bs-acc-nav-logout:hover { background: var(--bs-red-bg) !important; }

/* ── Main content ─────────────────────────────────────────────────────────── */
.bs-acc-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Card */
.bs-acc-card {
	background: var(--bs-surface);
	border: 1px solid var(--bs-border);
	border-radius: var(--bs-radius);
	box-shadow: var(--bs-shadow);
	overflow: hidden;
}

.bs-acc-card-header {
	padding: 16px 20px 14px;
	border-bottom: 1px solid var(--bs-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bs-acc-card-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--bs-text-1);
	letter-spacing: -.02em;
	margin: 0;
}

.bs-acc-card-body {
	padding: 20px;
}

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.bs-acc-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

@media (max-width: 500px) {
	.bs-acc-stats { grid-template-columns: repeat(2, 1fr); }
}

.bs-acc-stat {
	padding: 18px 16px;
	text-align: center;
	border-right: 1px solid var(--bs-border);
}

.bs-acc-stat:last-child { border-right: none; }

.bs-acc-stat-num {
	font-size: 26px;
	font-weight: 700;
	color: var(--bs-accent);
	letter-spacing: -.03em;
	line-height: 1;
	margin-bottom: 4px;
}

.bs-acc-stat-label {
	font-size: 11.5px;
	color: var(--bs-text-3);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .05em;
}

/* ── Next appointment banner ──────────────────────────────────────────────── */
.bs-acc-next {
	background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-h) 100%);
	border-radius: var(--bs-radius);
	padding: 20px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-shadow: 0 6px 20px rgba(79,70,229,.25);
	flex-wrap: wrap;
}

.bs-acc-next-label {
	font-size: 11px;
	font-weight: 700;
	color: rgba(255,255,255,.65);
	text-transform: uppercase;
	letter-spacing: .09em;
	margin-bottom: 4px;
}

.bs-acc-next-date {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.02em;
}

.bs-acc-next-time {
	font-size: 14px;
	color: rgba(255,255,255,.8);
	margin-top: 2px;
}

.bs-acc-next-ref {
	font-family: var(--bs-mono);
	font-size: 12px;
	color: rgba(255,255,255,.6);
	background: rgba(255,255,255,.15);
	padding: 3px 8px;
	border-radius: 4px;
	margin-top: 6px;
	display: inline-block;
}

.bs-acc-next-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* ── Booking cards ────────────────────────────────────────────────────────── */
.bs-acc-booking {
	padding: 16px 20px;
	border-bottom: 1px solid var(--bs-border);
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.bs-acc-booking:last-child { border-bottom: none; }

.bs-acc-booking-date-box {
	background: var(--bs-accent-l);
	border: 1px solid var(--bs-accent-m);
	border-radius: var(--bs-radius-sm);
	padding: 8px 12px;
	text-align: center;
	min-width: 56px;
	flex-shrink: 0;
}

.bs-acc-bday   { font-size: 20px; font-weight: 700; color: var(--bs-accent); line-height: 1; }
.bs-acc-bmonth { font-size: 10.5px; font-weight: 600; color: var(--bs-accent); text-transform: uppercase; letter-spacing: .06em; }

.bs-acc-booking-info { flex: 1; min-width: 0; }

.bs-acc-bref {
	font-family: var(--bs-mono);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bs-accent);
	margin-bottom: 3px;
}

.bs-acc-btime { font-size: 13.5px; font-weight: 600; color: var(--bs-text-1); }
.bs-acc-bmeta { font-size: 12px; color: var(--bs-text-3); margin-top: 2px; }

.bs-acc-booking-actions {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* ── Booking list filter tabs ─────────────────────────────────────────────── */
.bs-acc-filter-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--bs-border);
	padding: 0 20px;
	overflow-x: auto;
	scrollbar-width: none; /* Firefox — hide scrollbar */
	-ms-overflow-style: none; /* IE */
}

.bs-acc-filter-tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari — hide scrollbar */

.bs-acc-filter-tab {
	padding: 11px 16px;
	border: none;
	background: transparent;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--bs-text-3);
	cursor: pointer;
	font-family: var(--bs-font);
	border-bottom: 2px solid transparent;
	transition: color .15s, border-color .15s;
	white-space: nowrap;
	margin-bottom: -1px;
}

.bs-acc-filter-tab:hover { color: var(--bs-text-1); }

.bs-acc-filter-tab--active {
	color: var(--bs-accent);
	font-weight: 600;
	border-bottom-color: var(--bs-accent);
}

/* ── Status badges ────────────────────────────────────────────────────────── */
.bs-acc-badge {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 20px;
	white-space: nowrap;
}

.bs-acc-badge--confirmed  { background: var(--bs-green-bg); color: var(--bs-green); }
.bs-acc-badge--pending    { background: var(--bs-amber-bg); color: var(--bs-amber); }
.bs-acc-badge--cancelled  { background: #f3f4f6; color: var(--bs-text-3); }
.bs-acc-badge--completed  { background: var(--bs-accent-l); color: var(--bs-accent); }
.bs-acc-badge--no_show    { background: var(--bs-red-bg); color: var(--bs-red); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.bs-acc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px 14px;
	border-radius: var(--bs-radius-sm);
	font-size: 13px;
	font-weight: 600;
	font-family: var(--bs-font);
	cursor: pointer;
	border: none;
	transition: all .15s var(--bs-ease);
	text-decoration: none;
	white-space: nowrap;
}

.bs-acc-btn--primary {
	background: var(--bs-accent);
	color: #fff;
	box-shadow: 0 2px 8px rgba(79,70,229,.22);
}

.bs-acc-btn--primary:hover { background: var(--bs-accent-h); transform: translateY(-1px); color: #fff; }

.bs-acc-btn--ghost {
	background: rgba(255,255,255,.2);
	color: #fff;
	border: 1px solid rgba(255,255,255,.35);
}

.bs-acc-btn--ghost:hover { background: rgba(255,255,255,.3); color: #fff; }

.bs-acc-btn--outline {
	background: transparent;
	color: var(--bs-accent);
	border: 1.5px solid var(--bs-accent-m);
}

.bs-acc-btn--outline:hover { background: var(--bs-accent-l); }

.bs-acc-btn--danger-outline {
	background: transparent;
	color: var(--bs-red);
	border: 1.5px solid #FECACA;
}

.bs-acc-btn--danger-outline:hover { background: var(--bs-red-bg); }

.bs-acc-btn--sm { padding: 5px 10px; font-size: 12px; }

.bs-acc-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Profile form ─────────────────────────────────────────────────────────── */
.bs-acc-field { margin-bottom: 16px; }

.bs-acc-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bs-text-2);
	margin-bottom: 5px;
}

.bs-acc-input {
	width: 100%;
	height: 38px;
	padding: 0 12px;
	border: 1.5px solid var(--bs-border);
	border-radius: var(--bs-radius-sm);
	font-size: 14px;
	font-family: var(--bs-font);
	color: var(--bs-text-1);
	background: var(--bs-surface);
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.bs-acc-input:focus {
	border-color: var(--bs-accent);
	box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.bs-acc-input:disabled {
	background: var(--bs-surface-2);
	color: var(--bs-text-4);
	cursor: not-allowed;
}

.bs-acc-input-hint { font-size: 11.5px; color: var(--bs-text-4); margin-top: 4px; }

.bs-acc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 480px) { .bs-acc-form-row { grid-template-columns: 1fr; } }

/* ── Toast notification ───────────────────────────────────────────────────── */
.bs-acc-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: #1F2937;
	color: #FFFFFF !important;
	font-size: 13.5px;
	font-weight: 500;
	padding: 12px 22px;
	border-radius: 8px;
	z-index: 99999;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
	animation: bsToastIn .2s var(--bs-ease);
	white-space: nowrap;
}

.bs-acc-toast--error   { background: #DC2626; color: #FFFFFF !important; }
.bs-acc-toast--success { background: #059669; color: #FFFFFF !important; }

/* Fix all button hover states — ensure text always visible */
.bs-acc-btn--outline:hover {
	background: var(--bs-accent);
	color: #ffffff;
	border-color: var(--bs-accent);
}

.bs-acc-btn--danger-outline:hover {
	background: var(--bs-red);
	color: #ffffff;
	border-color: var(--bs-red);
}

/* Modal close button — always white text, hover darkens background only */
.bs-acc-modal-close { color: #fff !important; }
.bs-acc-modal-close:hover { background: rgba(255,255,255,.3); color: #fff !important; }

/* Filter tab hover — dark text on light hover, white on active */
.bs-acc-filter-tab:hover { color: var(--bs-text-1); background: var(--bs-surface-2); }
.bs-acc-filter-tab--active { color: var(--bs-accent) !important; background: transparent; }

@keyframes bsToastIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── Empty state ──────────────────────────────────────────────────────────── */
.bs-acc-empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--bs-text-3);
}

.bs-acc-empty-icon { font-size: 36px; margin-bottom: 10px; }
.bs-acc-empty-text { font-size: 14px; }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.bs-acc-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16px;
	border-top: 1px solid var(--bs-border);
}

.bs-acc-page-btn {
	width: 32px; height: 32px;
	border-radius: 6px;
	border: 1px solid var(--bs-border);
	background: var(--bs-surface);
	font-size: 13px;
	font-family: var(--bs-font);
	color: var(--bs-text-2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .15s;
}

.bs-acc-page-btn:hover { background: var(--bs-accent-l); border-color: var(--bs-accent-m); color: var(--bs-accent); }
.bs-acc-page-btn--active { background: var(--bs-accent); border-color: var(--bs-accent); color: #fff; }

/* ── Reschedule modal overlay ─────────────────────────────────────────────── */
.bs-acc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	animation: bsAccFadeIn .18s var(--bs-ease);
}

@keyframes bsAccFadeIn { from { opacity: 0; } to { opacity: 1; } }

.bs-acc-modal {
	background: #ffffff !important;
	border-radius: 18px;
	box-shadow: 0 24px 64px rgba(0,0,0,.2);
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	animation: bsAccSlideUp .22s var(--bs-ease);
	position: relative;
	z-index: 1000000;
}

.bs-acc-modal-body {
	padding: 22px;
	background: #ffffff !important;
	color: #111827 !important;
}

.bs-acc-modal-body p,
.bs-acc-modal-body div {
	color: inherit;
}

.bs-acc-modal-head {
	background: linear-gradient(135deg, var(--bs-accent) 0%, #3730A3 100%);
	padding: 20px 22px 16px;
	border-radius: 18px 18px 0 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.bs-acc-modal-title { font-size: 17px; font-weight: 700; color: #ffffff !important; }
.bs-acc-modal-sub   { font-size: 12px; color: rgba(255,255,255,.75) !important; margin-top: 2px; }

.bs-acc-modal-close {
	width: 28px; height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.4);
	background: rgba(255,255,255,.2);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bs-font);
	flex-shrink: 0;
}

.bs-acc-modal-close:hover { background: rgba(255,255,255,.35); }

/* Inline booking widget inside reschedule modal */
.bs-acc-rebook-wrap { background: var(--bs-surface-2); border-radius: var(--bs-radius-sm); overflow: hidden; border: 1px solid var(--bs-border); }

/* ── Mobile bottom nav ────────────────────────────────────────────────────── */
@media (max-width: 680px) {
	.bs-acc-sidebar { display: none; }

	.bs-acc-mobile-nav {
		display: flex;
		background: var(--bs-surface);
		border: 1px solid var(--bs-border);
		border-radius: var(--bs-radius);
		overflow: hidden;
		box-shadow: var(--bs-shadow);
		margin-bottom: 16px;
	}

	.bs-acc-mobile-tab {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 10px 6px;
		border: none;
		background: transparent;
		font-size: 10.5px;
		font-weight: 500;
		color: var(--bs-text-3);
		cursor: pointer;
		font-family: var(--bs-font);
		border-right: 1px solid var(--bs-border);
		transition: background .14s, color .14s;
	}

	.bs-acc-mobile-tab:last-child { border-right: none; }
	.bs-acc-mobile-tab--active { background: var(--bs-accent-l); color: var(--bs-accent); font-weight: 600; }
	.bs-acc-mobile-tab-icon { font-size: 18px; }
}

@media (min-width: 681px) {
	.bs-acc-mobile-nav { display: none; }
}

/* ── Login gate magic link form ───────────────────────────────────────────── */

.bs-gate-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: var(--bs-text4);
	font-size: 13px;
}

.bs-gate-divider::before,
.bs-gate-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--bs-border);
}

.bs-gate-magic {
	background: var(--bs-surface-2);
	border: 1px solid var(--bs-border);
	border-radius: var(--bs-radius);
	padding: 20px;
	text-align: left;
	margin-bottom: 16px;
}

.bs-gate-magic-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--bs-text-1);
	margin: 0 0 6px;
}

.bs-gate-magic-desc {
	font-size: 13px;
	color: var(--bs-text-3);
	margin: 0 0 14px;
	line-height: 1.5;
}

.bs-gate-magic-form {
	display: flex;
	gap: 8px;
}

.bs-gate-magic-input {
	flex: 1;
	height: 38px;
	padding: 0 12px;
	border: 1.5px solid var(--bs-border);
	border-radius: var(--bs-radius-sm);
	font-size: 14px;
	font-family: var(--bs-font);
	color: var(--bs-text-1);
	background: var(--bs-surface);
	outline: none;
	transition: border-color .15s;
	-webkit-appearance: none;
	appearance: none;
}

.bs-gate-magic-input:focus {
	border-color: var(--bs-accent);
	box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.bs-gate-magic-btn {
	height: 38px;
	padding: 0 16px;
	background: var(--bs-accent);
	color: #fff;
	border: none;
	border-radius: var(--bs-radius-sm);
	font-size: 13.5px;
	font-weight: 600;
	font-family: var(--bs-font);
	cursor: pointer;
	transition: background .15s;
	white-space: nowrap;
	flex-shrink: 0;
}

.bs-gate-magic-btn:hover { background: var(--bs-accent-h); }
.bs-gate-magic-btn:disabled { opacity: .6; cursor: not-allowed; }

.bs-gate-magic-msg {
	font-size: 13px;
	margin: 10px 0 0;
	line-height: 1.5;
}

@media (max-width: 400px) {
	.bs-gate-magic-form { flex-direction: column; }
	.bs-gate-magic-btn  { width: 100%; }
}

/* ── Custom login page [booksnap_login] ───────────────────────────────────── */

.bs-login-wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: flex-start !important;
	padding: 48px 20px 64px !important;
	font-family: var(--bs-font);
	min-height: 400px;
	background: transparent;
}

.bs-login-card {
	background: #ffffff !important;
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 16px !important;
	box-shadow: 0 10px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06) !important;
	width: 100% !important;
	max-width: 360px !important;
	margin: 0 auto !important;
	overflow: hidden !important;
}

.bs-login-header {
	background: linear-gradient(135deg, var(--bs-accent) 0%, #4338CA 100%);
	padding: 24px 24px 20px;
	text-align: center;
}

.bs-login-logo {
	font-size: 28px;
	margin-bottom: 8px;
	line-height: 1;
}

.bs-login-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 3px !important;
	border: none !important;
	padding: 0 !important;
}

.bs-login-sub {
	font-size: 13px;
	color: rgba(255,255,255,.72);
	margin: 0;
}

.bs-login-error {
	background: #FEF2F2;
	border-left: 3px solid #DC2626;
	color: #991B1B;
	font-size: 13px;
	padding: 9px 14px;
	margin: 14px 20px 0;
	border-radius: 4px;
}

.bs-login-form {
	padding: 20px 24px 4px;
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.bs-login-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bs-login-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bs-login-label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bs-text-2);
}

.bs-login-forgot {
	font-size: 12px;
	color: var(--bs-accent);
	text-decoration: none;
}

.bs-login-forgot:hover { text-decoration: underline; }

.bs-login-input {
	height: 38px;
	padding: 0 11px;
	border: 1.5px solid var(--bs-border);
	border-radius: 7px;
	font-size: 14px;
	font-family: var(--bs-font);
	color: var(--bs-text-1);
	background: #fff;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	box-sizing: border-box;
}

.bs-login-input:focus {
	border-color: var(--bs-accent);
	box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.bs-login-remember {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--bs-text-2);
	cursor: pointer;
}

.bs-login-btn {
	height: 40px;
	background: var(--bs-accent);
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 14.5px;
	font-weight: 600;
	font-family: var(--bs-font);
	cursor: pointer;
	transition: background .15s;
	box-shadow: 0 3px 10px rgba(79,70,229,.22);
	margin-top: 4px;
	width: 100%;
}

.bs-login-btn:hover { background: #4338CA; }

.bs-login-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 24px 0;
	color: var(--bs-text-4);
	font-size: 12px;
}

.bs-login-divider::before,
.bs-login-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--bs-border);
}

.bs-login-magic {
	padding: 12px 24px 22px;
	text-align: center;
}

.bs-login-magic p {
	font-size: 12.5px;
	color: var(--bs-text-3);
	margin: 0 0 8px;
	line-height: 1.5;
}

.bs-login-magic-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--bs-accent);
	text-decoration: none;
}

.bs-login-magic-link:hover { text-decoration: underline; }


