/* ==========================================================================
   BiographyPoints Family & History Theme - Full-Width Account & Auth System
   Modern responsive layout with profile cover banner, tabs, email verification,
   and Danger Zone account deletion.
   ========================================================================== */

/* Full-Width Auth Screen Wrapper (Login & Register Split Layout) */
.bpt-auth-container-full {
	width: 100%;
	padding: 60px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--bpt-neutral-bg);
}

.bpt-auth-card-wide {
	background: #ffffff;
	border: 1px solid var(--bpt-border-subtle);
	border-radius: var(--bpt-radius-lg);
	box-shadow: 0 10px 30px rgba(11, 21, 53, 0.08);
	max-width: 520px;
	width: 100%;
	padding: 44px;
	text-align: center;
}

.bpt-auth-split-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1040px;
	width: 100%;
	background: #ffffff;
	border-radius: var(--bpt-radius-lg);
	overflow: hidden;
	box-shadow: 0 12px 36px rgba(11, 21, 53, 0.08);
	border: 1px solid var(--bpt-border-subtle);
}

.bpt-auth-left-panel {
	background: linear-gradient(135deg, var(--bpt-primary-navy) 0%, #1e293b 100%);
	color: #ffffff;
	padding: 56px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bpt-auth-brand-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
	width: fit-content;
}

.bpt-auth-left-panel h2 {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 16px;
}

.bpt-auth-left-panel p {
	color: #cbd5e1;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 28px;
}

.bpt-auth-feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.95rem;
	color: #e2e8f0;
}

.bpt-auth-right-panel {
	padding: 56px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bpt-auth-header-styled h2 {
	font-family: var(--bpt-font-heading);
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--bpt-primary-navy);
	margin-bottom: 6px;
}

.bpt-auth-header-styled p {
	font-size: 0.95rem;
	color: #64748b;
	margin-bottom: 24px;
}

.bpt-auth-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--bpt-border-subtle);
	font-size: 0.92rem;
	text-align: center;
	color: #64748b;
}

.bpt-auth-footer a {
	color: var(--bpt-primary-navy);
	text-decoration: none;
}

.bpt-auth-footer a:hover {
	color: var(--bpt-secondary-green);
}

.bpt-form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	font-size: 0.88rem;
}

.bpt-input-otp {
	font-family: monospace;
	font-size: 1.8rem;
	letter-spacing: 8px;
	text-align: center;
	font-weight: 700;
	color: var(--bpt-primary-navy);
	padding: 12px;
}

/* ==========================================================================
   Full-Width User Dashboard Layout
   ========================================================================== */
.bpt-account-fullwidth-wrap {
	width: 100%;
	background: var(--bpt-neutral-bg);
	min-height: calc(100vh - 200px);
	padding-bottom: 60px;
}

/* 1. Profile Hero Banner */
.bpt-account-hero-banner {
	background: #0b1535;
	color: #ffffff;
	padding: 44px 0 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 14px rgba(11, 21, 53, 0.1);
}

.bpt-hero-profile-container {
	display: flex;
	align-items: center;
	gap: 28px;
}

.bpt-hero-avatar-wrap {
	flex-shrink: 0;
}

.bpt-hero-avatar-img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.bpt-hero-info {
	flex: 1;
}

.bpt-hero-name-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.bpt-hero-user-name {
	font-family: var(--bpt-font-heading);
	font-size: 1.9rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

/* Verified Email Badge */
.bpt-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(13, 102, 85, 0.25);
	color: #34d399;
	border: 1px solid rgba(52, 211, 153, 0.4);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
}

.bpt-unverified-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(245, 158, 11, 0.2);
	color: #fbbf24;
	border: 1px solid rgba(251, 191, 36, 0.4);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
}

.bpt-hero-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #94a3b8;
	font-size: 0.92rem;
	flex-wrap: wrap;
}

.bpt-btn-logout-pill {
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.3) !important;
	border-radius: 999px;
	padding: 8px 20px;
	font-weight: 600;
}

.bpt-btn-logout-pill:hover {
	background: rgba(255, 255, 255, 0.15) !important;
	border-color: #ffffff !important;
}

/* 2. Dashboard Body & Tabs */
.bpt-dashboard-body {
	padding-top: 30px;
}

.bpt-account-tabs-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 30px;
	overflow-x: auto;
	white-space: nowrap;
}

.bpt-tab-link {
	padding: 12px 20px;
	font-size: 0.96rem;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bpt-tab-link:hover {
	color: var(--bpt-primary-navy);
}

.bpt-tab-link.active {
	color: var(--bpt-secondary-green);
	border-bottom-color: var(--bpt-secondary-green);
}

.bpt-tab-danger {
	color: #dc2626 !important;
}

.bpt-tab-danger.active {
	border-bottom-color: #dc2626 !important;
}

/* 3. Tab Panels */
.bpt-account-panel-card {
	background: #ffffff;
	border: 1px solid var(--bpt-border-subtle);
	border-radius: var(--bpt-radius-lg);
	box-shadow: 0 4px 16px rgba(11, 21, 53, 0.04);
	padding: 36px;
	margin-bottom: 30px;
}

.bpt-card-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.bpt-card-header h3 {
	font-family: var(--bpt-font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--bpt-primary-navy);
	margin-bottom: 4px;
}

.bpt-card-header p {
	font-size: 0.92rem;
	color: #64748b;
	margin: 0;
}

/* Email Verification Banner Prompt */
.bpt-verify-banner-box {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--bpt-radius-md);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.bpt-verify-box-left h4 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #92400e;
	margin: 0 0 4px;
}

.bpt-verify-box-left p {
	font-size: 0.9rem;
	color: #b45309;
	margin: 0;
}

.bpt-inline-code-form {
	display: flex;
	gap: 8px;
	align-items: center;
}

/* Profile Edit Form Grid */
.bpt-profile-edit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.bpt-grid-full {
	grid-column: 1 / -1;
}

.bpt-field-hint {
	display: block;
	font-size: 0.8rem;
	color: #94a3b8;
	margin-top: 4px;
}

.bpt-input-disabled {
	background: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}

/* Saved Records Grid */
.bpt-saved-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.bpt-saved-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--bpt-radius-md);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease;
}

.bpt-saved-card:hover {
	border-color: var(--bpt-secondary-green);
	box-shadow: 0 4px 12px rgba(11, 21, 53, 0.08);
}

.bpt-saved-card-thumb {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: #f1f5f9;
}

.bpt-saved-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpt-avatar-fallback {
	width: 100%;
	height: 100%;
	background: var(--bpt-primary-navy);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
}

.bpt-saved-card-info {
	flex: 1;
	min-width: 0;
}

.bpt-type-pill {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--bpt-secondary-green);
	margin-bottom: 2px;
}

.bpt-saved-card-info h4 {
	font-size: 0.98rem;
	font-weight: 700;
	margin: 0 0 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bpt-saved-card-info a {
	color: var(--bpt-primary-navy);
	text-decoration: none;
}

.bpt-saved-card-info a:hover {
	color: var(--bpt-secondary-green);
}

.bpt-saved-date {
	font-size: 0.78rem;
	color: #94a3b8;
}

/* Danger Zone */
.bpt-danger-card {
	border: 1.5px solid #fecaca;
	background: #fffafa;
}

/* Responsive */
@media (max-width: 900px) {
	.bpt-auth-split-wrapper {
		grid-template-columns: 1fr;
	}
	.bpt-auth-left-panel {
		padding: 36px 24px;
	}
	.bpt-auth-right-panel {
		padding: 36px 24px;
	}
	.bpt-hero-profile-container {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	.bpt-hero-name-row {
		justify-content: center;
	}
	.bpt-hero-meta-row {
		justify-content: center;
	}
	.bpt-profile-edit-grid {
		grid-template-columns: 1fr;
	}
}
