/* ─── ALWR Customer Manager — Public Styles ─────────────────────────────── */

/* ── Typography ───────────────────────────────────────────────────────────── */

/* Inter on every ALWR surface */
.alwr-portal,
.alwr-retrieval,
.alwr-login-wrap,
.alwr-emg-page,
.alwr-reg-wrap,
.alwr-reg-form,
.alwr-member-nav {
	font-family: 'Inter', sans-serif;
}

/* Inherit Inter into all common elements inside ALWR wrappers */
.alwr-portal *,
.alwr-retrieval *,
.alwr-login-wrap *,
.alwr-emg-page *,
.alwr-reg-wrap *,
.alwr-reg-form *,
.alwr-member-nav * {
	font-family: inherit;
}

/* Poppins for headings */
.alwr-login-header h2,
.alwr-emg-title,
.alwr-portal-header h2,
.alwr-portal h2,
.alwr-portal h3,
.alwr-reg-wrap h2,
.alwr-reg-wrap h3,
.alwr-section-title {
	font-family: 'Poppins', sans-serif;
}

/* ── Portal wrapper ───────────────────────────────────────────────────────── */
.alwr-portal,
.alwr-retrieval {
	max-width: 900px;
	margin: 0 auto;
}

/* ── Portal header ───────────────────────────────────────────────────────── */
.alwr-portal-header {
	background: #1a4a7a;
	color: #fff;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.alwr-portal-header h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 20px;
}
.alwr-portal-meta { font-size: 13px; opacity: .9; }
.alwr-expired-badge {
	display: inline-block;
	background: #d63638;
	color: #fff;
	border-radius: 3px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	margin-left: 10px;
	vertical-align: middle;
}

/* ── Tabs ─────────────────────────────────────────────────────────────────── */
.alwr-tabs {
	display: flex;
	border-bottom: 2px solid #1a4a7a;
	margin-bottom: 20px;
}
.alwr-tab {
	padding: 10px 20px;
	text-decoration: none;
	color: #555;
	font-weight: 600;
	border-radius: 4px 4px 0 0;
	margin-right: 4px;
	border: 1px solid transparent;
	border-bottom: none;
}
.alwr-tab:hover { color: #1a4a7a; background: #f0f4f8; }
.alwr-tab-active {
	color: #1a4a7a;
	background: #fff;
	border-color: #1a4a7a;
	border-bottom-color: #fff;
	margin-bottom: -2px;
}

/* ── Referral code card ───────────────────────────────────────────────────── */
.alwr-referral-card {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #f0f7ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.alwr-referral-card-left { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.alwr-referral-card-label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #1e40af;
}
.alwr-referral-card-body { display: flex; align-items: center; gap: 10px; }
.alwr-referral-code {
	font-size: 22px;
	font-weight: 800;
	color: #1a4a7a;
	letter-spacing: .08em;
	font-family: 'Courier New', Courier, monospace;
}
.alwr-referral-copy-btn {
	padding: 5px 14px;
	background: #1a4a7a;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .12s;
	white-space: nowrap;
}
.alwr-referral-copy-btn:hover { background: #153d66; }
.alwr-referral-copy-btn.copied { background: #0a7c59; }
.alwr-referral-card-hint {
	font-size: 12.5px;
	color: #374151;
	margin: 0;
	flex: 1;
	min-width: 180px;
	line-height: 1.5;
}

/* ── Tab content ──────────────────────────────────────────────────────────── */
.alwr-tab-content { padding: 4px 0; }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.alwr-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.alwr-table th,
.alwr-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14px;
}
.alwr-table th {
	background: #f0f4f8;
	font-weight: 700;
	color: #1a4a7a;
}
.alwr-table tr:hover td { background: #fafcff; }

/* ── Form rows ────────────────────────────────────────────────────────────── */
.alwr-form-row {
	margin-bottom: 16px;
}
.alwr-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 14px;
}
.alwr-form-row input[type="text"],
.alwr-form-row input[type="email"],
.alwr-form-row input[type="file"],
.alwr-form-row select,
.alwr-form-row textarea {
	width: 100%;
	max-width: 480px;
	padding: 8px 10px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}
.alwr-form-row textarea { resize: vertical; min-height: 80px; }
.alwr-required { color: #d63638; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.alwr-btn {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: background .15s;
}
.alwr-btn-primary {
	background: #1a4a7a;
	color: #fff;
}
.alwr-btn-primary:hover { background: #153d66; color: #fff; }
.alwr-btn-download {
	background: #0a7c59;
	color: #fff;
}
.alwr-btn-download:hover { background: #085e44; color: #fff; }

/* ── Notices ──────────────────────────────────────────────────────────────── */
.alwr-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-size: 14px;
}
.alwr-notice-success { background: #d1e7dd; color: #0a3622; border-left: 4px solid #0a7c59; }
.alwr-notice-error   { background: #f8d7da; color: #58151c; border-left: 4px solid #d63638; }
.alwr-notice-warning { background: #fff3cd; color: #664d03; border-left: 4px solid #e6a817; }

/* ── Expiry banner call-to-action link ───────────────────────────────────── */
.alwr-expiry-banner { margin-bottom: 16px; }
.alwr-expiry-cta {
	display: inline-block;
	margin-left: 10px;
	font-weight: 700;
	text-decoration: underline;
	color: inherit;
}
.alwr-expiry-cta:hover { opacity: 0.8; }

/* ── Empty state ──────────────────────────────────────────────────────────── */
.alwr-empty { color: #777; font-style: italic; padding: 16px 0; }
.alwr-empty-state { padding: 12px 0; }
.alwr-empty-state p { margin: 0 0 6px; color: #777; }
.alwr-empty-state .alwr-empty-hint { font-size: 12px; font-style: italic; color: #999; }

/* ── Spinner ──────────────────────────────────────────────────────────────── */
.alwr-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 3px solid #ccc;
	border-top-color: #1a4a7a;
	border-radius: 50%;
	animation: alwr-spin .7s linear infinite;
	vertical-align: middle;
	margin-left: 8px;
}
@keyframes alwr-spin { to { transform: rotate(360deg); } }

/* ── Retrieval form ───────────────────────────────────────────────────────── */
.alwr-retrieval h2 {
	color: #1a4a7a;
	border-bottom: 2px solid #1a4a7a;
	padding-bottom: 8px;
	margin-bottom: 12px;
}
.alwr-retrieval-form {
	max-width: 400px;
	border: 1px solid #c3272b;
	border-radius: 4px;
	padding: 18px 20px;
	margin-bottom: 16px;
}
.alwr-retrieval-form .alwr-form-row label {
	color: #c3272b;
	font-weight: 700;
	min-width: 90px;
	display: inline-block;
}
.alwr-retrieval-form .alwr-form-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.alwr-retrieval-form .alwr-form-row input[type="text"] {
	width: auto;
	flex: 1;
	max-width: none;
}
.alwr-retrieval-form .alwr-form-row:last-child {
	margin-bottom: 0;
	padding-left: 100px;
}
.alwr-hotline-note {
	font-size: 14px;
	margin-top: 16px;
}

/* ── Retrieval results ────────────────────────────────────────────────────── */
.alwr-retrieval-result { margin-bottom: 20px; }
.alwr-result-heading {
	font-size: 16px;
	color: #1a4a7a;
	margin-bottom: 8px;
}
.alwr-result-sub {
	font-style: italic;
	font-size: 13px;
	margin-bottom: 10px;
}
.alwr-doc-list {
	list-style: square;
	padding-left: 24px;
	margin-bottom: 16px;
}
.alwr-doc-list li { margin-bottom: 6px; font-size: 14px; }
.alwr-doc-link { color: #1a4a7a; font-weight: 600; }
.alwr-doc-link:hover { text-decoration: underline; }
.alwr-doc-meta { color: #555; font-size: 13px; margin-left: 4px; }
.alwr-download-instructions {
	border: 1px solid #bbb;
	border-radius: 3px;
	padding: 10px 14px;
	font-size: 13px;
	background: #f9f9f9;
	color: #333;
}
.alwr-btn-outline {
	background: transparent;
	border: 1px solid #1a4a7a;
	color: #1a4a7a;
	padding: 7px 16px;
}
.alwr-btn-outline:hover { background: #1a4a7a; color: #fff; }

/* ── Registration form — Modern redesign ──────────────────────────────────── */
.alwr-register-wrap {
	max-width: 700px;
	margin: 0 auto;
	padding: 32px 16px 48px;
	font-family: -apple-system, 'Inter', BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.alwr-register-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 32px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
	overflow: hidden;
}

/* ── Card header ── */
.alwr-register-hd {
	background: linear-gradient(135deg, #1a4a7a 0%, #0d3260 100%);
	padding: 28px 32px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.alwr-register-hd-icon {
	width: 54px;
	height: 54px;
	background: rgba(255,255,255,.14);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
}
.alwr-register-hd h2 {
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	margin: 0 0 5px !important;
	line-height: 1.2 !important;
}
.alwr-register-hd p {
	color: rgba(255,255,255,.72) !important;
	font-size: 14px !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

/* ── Notice (inside card, below header) ── */
.alwr-register-notice {
	margin: 20px 32px 0;
	border-radius: 8px;
}

/* ── Form body ── */
.alwr-register-body {
	padding: 28px 32px 32px;
}

/* ── Sections ── */
.alwr-reg-section {
	margin-bottom: 28px;
}
.alwr-reg-section:last-of-type {
	margin-bottom: 0;
}
.alwr-reg-section-title {
	font-size: 10.5px;
	font-weight: 700;
	color: #1a4a7a;
	text-transform: uppercase;
	letter-spacing: .8px;
	margin-bottom: 16px;
	padding-bottom: 9px;
	border-bottom: 2px solid #e8f0f8;
}

/* ── Field grid ── */
.alwr-reg-row {
	display: grid;
	gap: 14px;
	margin-bottom: 14px;
}
.alwr-reg-row:last-child { margin-bottom: 0; }
.alwr-reg-row-1 { grid-template-columns: 1fr; }
.alwr-reg-row-2 { grid-template-columns: 1fr 1fr; }
.alwr-reg-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Individual field ── */
.alwr-reg-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.alwr-reg-field > label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}
.alwr-req { color: #e53e3e; }
.alwr-reg-field-hint {
	font-size: 12px;
	color: #9ca3af;
	margin: -2px 0 0;
}

/* ── Inputs & selects ── */
.alwr-reg-field input[type="text"],
.alwr-reg-field input[type="email"],
.alwr-reg-field input[type="tel"],
.alwr-reg-field input[type="number"],
.alwr-reg-field input[type="password"],
.alwr-reg-field select {
	width: 100%;
	padding: 10px 13px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px !important;
	color: #1f2937;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	margin: 0 !important;
	line-height: normal !important;
}
.alwr-reg-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	padding-right: 36px !important;
	cursor: pointer;
}
.alwr-reg-field input:focus,
.alwr-reg-field select:focus {
	border-color: #1a4a7a !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(26,74,122,.12) !important;
}
.alwr-reg-field input::placeholder { color: #9ca3af; }

/* ── Phone row (number + ext) ── */
.alwr-reg-phone-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.alwr-reg-phone-row input:first-child { flex: 1; min-width: 0; }
.alwr-reg-phone-row input:last-child  { width: 72px !important; flex-shrink: 0; }

/* ── Referral code row ── */
.alwr-reg-referral-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.alwr-reg-referral-row input { flex: 1; min-width: 0; }
.alwr-reg-apply-btn {
	flex-shrink: 0;
	padding: 0 16px;
	height: 42px;
	background: #1d4b7a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.alwr-reg-apply-btn:hover  { background: #163d63; }
.alwr-reg-apply-btn:disabled { opacity: .6; cursor: default; }

/* ── Actions bar ── */
.alwr-reg-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}
.alwr-reg-btn-submit {
	flex: 1;
	padding: 13px 24px !important;
	background: #1a4a7a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background .15s, transform .1s !important;
	line-height: normal !important;
}
.alwr-reg-btn-submit:hover { background: #153d66 !important; }
.alwr-reg-btn-submit:active { transform: translateY(1px); }
.alwr-reg-btn-clear {
	padding: 13px 20px !important;
	background: transparent !important;
	color: #6b7280 !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: all .15s !important;
	line-height: normal !important;
}
.alwr-reg-btn-clear:hover {
	border-color: #9ca3af !important;
	color: #374151 !important;
	background: #f9fafb !important;
}
.alwr-reg-req-footer {
	font-size: 12px;
	color: #9ca3af;
	margin: 12px 0 0;
}

/* ── Field-level validation errors ── */
.alwr-field-error > input,
.alwr-field-error > select,
.alwr-field-error .alwr-reg-phone-row input:first-child {
	border-color: #e53e3e !important;
	background: #fff8f8 !important;
	box-shadow: 0 0 0 3px rgba(229,62,62,.12) !important;
}
.alwr-field-error > label {
	color: #e53e3e !important;
}
.alwr-reg-field-error-msg {
	font-size: 11.5px;
	color: #e53e3e;
	margin-top: 2px;
	display: block;
}

/* ── ZIP status indicator ── */
.alwr-zip-valid    { color: #0a7a4a !important; font-size: 12px; }
.alwr-zip-invalid  { color: #e53e3e !important; font-size: 12px; }
.alwr-zip-checking { color: #6b7280 !important; font-size: 12px; font-style: italic; }

/* ── Responsive ── */
@media (max-width: 580px) {
	.alwr-register-hd   { padding: 22px 20px; gap: 14px; }
	.alwr-register-body { padding: 20px 20px 24px; }
	.alwr-register-notice { margin: 16px 20px 0; }
	.alwr-reg-row-2,
	.alwr-reg-row-3 { grid-template-columns: 1fr; }
	.alwr-reg-actions { flex-wrap: wrap; }
	.alwr-reg-btn-submit,
	.alwr-reg-btn-clear { width: 100%; text-align: center; }
}

/* ── Login page ───────────────────────────────────────────────────────────── */
.alwr-login-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 16px;
}
.alwr-login-box {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	padding: 36px 32px;
	box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.alwr-login-header { text-align: center; margin-bottom: 24px; }
.alwr-login-logo { margin-bottom: 10px; }
.alwr-login-logo img { max-height: 60px; }
.alwr-login-header h2 { margin: 0 0 6px; font-size: 20px; color: #1a4a7a; }
.alwr-login-header p { margin: 0; color: #666; font-size: 14px; }

.alwr-login-form { display: flex; flex-direction: column; gap: 14px; }
.alwr-login-field { display: flex; flex-direction: column; gap: 5px; }
.alwr-login-field label { font-weight: 600; font-size: 14px; color: #333; }
.alwr-login-field input[type="text"],
.alwr-login-field input[type="password"],
.alwr-login-field input[type="email"] {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}
.alwr-login-field input:focus { outline: none; border-color: #1a4a7a; box-shadow: 0 0 0 2px rgba(26,74,122,.15); }

.alwr-password-wrap { position: relative; }
.alwr-password-wrap input { padding-right: 42px; }
.alwr-toggle-pw {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	background: none; border: none; cursor: pointer; padding: 2px; font-size: 16px; color: #777;
}

.alwr-login-row-check {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
}
.alwr-check-label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: #333; }
.alwr-forgot-link { color: #1a4a7a; text-decoration: none; }
.alwr-forgot-link:hover { text-decoration: underline; }

.alwr-login-submit {
	width: 100%;
	padding: 11px;
	font-size: 15px;
	margin-top: 4px;
}
.alwr-login-help {
	text-align: center;
	font-size: 13px;
	color: #777;
	margin: 18px 0 0;
}
.alwr-login-help a { color: #1a4a7a; }
.alwr-btn-logout {
	background: rgba(255,255,255,.15);
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
	font-size: 13px;
	padding: 7px 14px;
}
.alwr-btn-logout:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── Customer Profile page ─────────────────────────────────────────────────── */
.alwr-profile-wrap { max-width: 1060px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE SETTINGS — redesigned (alwr-ps-*)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page header ──────────────────────────────────────────────────────────── */
.alwr-ps-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.alwr-ps-page-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #111 !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
	border: none !important;
	line-height: 1.25;
}
.alwr-ps-page-subtitle {
	font-size: 13px;
	color: #6b7280;
	margin: 0;
}
.alwr-ps-page-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding-top: 4px;
}
.alwr-ps-btn-cancel {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background .12s, border-color .12s;
}
.alwr-ps-btn-cancel:hover { background: #f3f4f6; border-color: #9ca3af; color: #374151; }
.alwr-ps-btn-edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .12s, border-color .12s;
}
.alwr-ps-btn-edit:hover { background: #f0f7ff; border-color: #1a5276; color: #1a5276; }
.alwr-ps-btn-edit svg { flex-shrink: 0; }
.alwr-ps-btn-save {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: #1a5276;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background .12s;
}
.alwr-ps-btn-save:hover { background: #154360; }
.alwr-ps-btn-save svg { flex-shrink: 0; }

/* ── Section cards ────────────────────────────────────────────────────────── */
.alwr-ps-section-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin-bottom: 16px;
	overflow: hidden;
}
.alwr-ps-section-head {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	padding: 14px 18px;
	border-bottom: 1px solid #f3f4f6;
}
.alwr-ps-section-body { padding: 16px 18px; }

/* ── Field grid inside section cards ─────────────────────────────────────── */
.alwr-ps-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	padding: 16px 18px;
}
@media (max-width: 540px) {
	.alwr-ps-field-grid { grid-template-columns: 1fr; }
}

/* ── Banner / Avatar card ─────────────────────────────────────────────────── */
.alwr-ps-banner-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: visible;
	margin-bottom: 16px;
	position: relative;
}
.alwr-ps-banner-bg {
	height: 110px;
	background: linear-gradient(135deg, #1a5276 0%, #2980b9 60%, #5dade2 100%);
	border-radius: 10px 10px 0 0;
	position: relative;
}
.alwr-ps-expired-badge {
	position: absolute;
	top: 12px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #dc2626;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.alwr-ps-nosub-badge { background: #d97706; }
.alwr-ps-banner-footer {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 10px 20px 16px;
	min-height: 54px;
	position: relative;
}
.alwr-ps-avatar-wrap {
	position: absolute;
	left: 20px;
	bottom: 12px;
}
.alwr-ps-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: 3px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.18);
	position: relative;
	user-select: none;
}
.alwr-ps-avatar-edit {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.alwr-ps-avatar-edit:hover { background: #1d4ed8; }
.alwr-ps-member-id-wrap {
	text-align: right;
}
.alwr-ps-member-id-label {
	display: block;
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #9ca3af;
	margin-bottom: 2px;
}
.alwr-ps-member-id-value {
	font-size: 18px;
	font-weight: 800;
	color: #111827;
	letter-spacing: -.02em;
}

/* ── Account Status rows ──────────────────────────────────────────────────── */
.alwr-ps-status-list { padding: 0; }
.alwr-ps-status-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 11px 18px;
	border-bottom: 1px solid #f3f4f6;
	font-size: 13px;
}
.alwr-ps-status-row:last-child { border-bottom: none; }
.alwr-ps-status-label { color: #6b7280; }
.alwr-ps-status-value { font-weight: 500; color: #111827; }
.alwr-ps-value-expired { color: #dc2626; font-weight: 600; }
.alwr-ps-tier-badge {
	background: #f3f4f6;
	color: #374151;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 12px;
}
.alwr-ps-status-actions {
	padding: 14px 16px;
	border-top: 1px solid #f3f4f6;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.alwr-ps-status-actions a,
.alwr-ps-status-actions button,
.alwr-ps-status-actions input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 18px;
	background: #1a4a7a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	transition: background .12s;
	line-height: 1.4;
}
.alwr-ps-status-actions a:hover,
.alwr-ps-status-actions button:hover,
.alwr-ps-status-actions input[type="submit"]:hover {
	background: #154360;
	color: #fff;
}
.alwr-ps-no-sub-msg {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
}
.alwr-ps-contact-box {
	padding-top: 4px;
}
.alwr-ps-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	padding: 10px 18px;
	background: #1a4a7a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	transition: background .12s;
	line-height: 1.4;
}
.alwr-ps-cta-btn:hover { background: #154360; color: #fff; }

/* ── My Documents ─────────────────────────────────────────────────────────── */
.alwr-ps-docs-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #f3f4f6;
}
.alwr-ps-section-head-text {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}
.alwr-ps-docs-add-btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	border: none;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.alwr-ps-docs-add-btn:hover { background: #1d4ed8; }

/* ── Document list items ──────────────────────────────────────────────────── */
.alwr-ps-doc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.alwr-ps-doc-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px solid #f3f4f6;
	flex-wrap: wrap;
}
.alwr-ps-doc-item:last-child { border-bottom: none; }
.alwr-ps-doc-icon {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.alwr-ps-doc-icon-pdf { background: #fee2e2; color: #dc2626; }
.alwr-ps-doc-icon-doc { background: #dbeafe; color: #2563eb; }
.alwr-ps-doc-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.alwr-ps-doc-name {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.alwr-ps-doc-meta { font-size: 11px; color: #9ca3af; }
.alwr-ps-doc-right {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.alwr-ps-doc-links { display: flex; align-items: center; gap: 6px; }
.alwr-ps-doc-link-view, .alwr-ps-doc-link-dl {
	display: inline-flex;
	align-items: center;
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none;
	padding: 3px 9px;
	border-radius: 5px;
	transition: background .1s;
}
.alwr-ps-doc-link-view { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alwr-ps-doc-link-view:hover { background: #dbeafe; color: #1e40af; }
.alwr-ps-doc-link-dl { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; font-size: 14px; padding: 2px 8px; }
.alwr-ps-doc-link-dl:hover { background: #dcfce7; }
.alwr-ps-doc-badge {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
}
.alwr-ps-doc-badge-pending  { background: #fef9c3; color: #854d0e; }
.alwr-ps-doc-badge-rejected { background: #fee2e2; color: #991b1b; }
.alwr-ps-doc-rejected { background: #fff8f8; }
.alwr-ps-doc-rejection-row {
	width: 100%;
	padding-top: 6px;
	border-top: 1px dashed #fecaca;
	margin-top: 4px;
}
.alwr-ps-doc-reason { font-size: 11.5px; color: #842029; margin: 0 0 6px; }

/* ── Upload zone ──────────────────────────────────────────────────────────── */
.alwr-ps-empty-upload-zone,
.alwr-ps-upload-zone {
	border: 2px dashed #d1d5db;
	border-radius: 8px;
	padding: 22px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
	position: relative;
}
.alwr-ps-empty-upload-zone {
	margin: 10px 14px 14px;
}
.alwr-ps-upload-zone {
	margin-bottom: 14px;
}
.alwr-ps-empty-upload-zone:hover,
.alwr-ps-upload-zone:hover,
.alwr-ps-drag-over {
	border-color: #2563eb;
	background: #f0f7ff;
}
.alwr-ps-upload-zone-text {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin: 8px 0 4px;
}
.alwr-ps-upload-zone-hint {
	font-size: 11px;
	color: #9ca3af;
	margin: 0;
}
.alwr-ps-upload-file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.alwr-ps-upload-panel { padding: 14px 16px 6px; border-top: 1px solid #f3f4f6; }
.alwr-ps-upload-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.alwr-ps-upload-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
}
.alwr-ps-btn-cancel-upload {
	padding: 7px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.alwr-ps-btn-cancel-upload:hover { background: #f3f4f6; }
.alwr-ps-btn-submit-upload {
	padding: 7px 16px;
	background: #1a5276;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.alwr-ps-btn-submit-upload:hover { background: #154360; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
	.alwr-ps-page-header { flex-direction: column; align-items: stretch; }
	.alwr-ps-page-actions { justify-content: flex-end; }
	.alwr-ps-member-id-value { font-size: 16px; }
}

.alwr-profile-header {
	background: #1a4a7a;
	color: #fff;
	border-radius: 6px;
	padding: 16px 22px;
	margin-bottom: 22px;
}
.alwr-profile-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.alwr-profile-title { margin: 0 0 4px; font-size: 19px; color: #fff; }
.alwr-profile-pin   { margin: 0; font-size: 13px; opacity: .88; }

.alwr-profile-layout {
	display: grid;
	grid-template-columns: 1fr 310px;
	gap: 24px;
	align-items: start;
}
@media (max-width: 700px) {
	.alwr-profile-layout { grid-template-columns: 1fr; }
}

/* ── Profile main (left) ──── */
.alwr-profile-section { margin-bottom: 6px; }
.alwr-profile-section-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #1a4a7a;
	margin: 0 0 12px;
}
.alwr-profile-divider {
	border: none;
	border-top: 1px solid #e6eaf0;
	margin: 20px 0;
}
.alwr-profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 540px) {
	.alwr-profile-grid { grid-template-columns: 1fr; }
}
.alwr-profile-field { display: flex; flex-direction: column; gap: 5px; }
.alwr-profile-field-wide { grid-column: span 2; }
@media (max-width: 540px) {
	.alwr-profile-field-wide { grid-column: span 1; }
}
.alwr-profile-field label { font-size: 13px; font-weight: 600; color: #444; }
.alwr-profile-field input[type="text"],
.alwr-profile-field input[type="email"],
.alwr-profile-field input[type="tel"],
.alwr-profile-field input[type="password"],
.alwr-profile-field select,
.alwr-profile-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}
.alwr-profile-field input:focus,
.alwr-profile-field select:focus,
.alwr-profile-field textarea:focus {
	outline: none;
	border-color: #1a4a7a;
	box-shadow: 0 0 0 2px rgba(26,74,122,.12);
}
.alwr-profile-field textarea { resize: vertical; min-height: 70px; }

.alwr-phone-row { display: flex; gap: 8px; }
.alwr-phone-row input[type="tel"] { flex: 1; }
.alwr-ext-field { width: 72px !important; flex: none !important; }

/* ── View mode — read-only field appearance ───────────────────────────────── */
.alwr-ps-view-mode .alwr-profile-field input[readonly],
.alwr-ps-view-mode .alwr-profile-field textarea[readonly] {
	background: #f9fafb;
	border-color: #e5e7eb;
	color: #1f2937;
	cursor: default;
	box-shadow: none;
	pointer-events: none;
}
.alwr-ps-view-mode .alwr-profile-field select {
	background: #f9fafb;
	border-color: #e5e7eb;
	color: #1f2937;
	cursor: default;
	pointer-events: none;
	opacity: 1;
}
.alwr-ps-view-mode .alwr-profile-field input[readonly]:focus,
.alwr-ps-view-mode .alwr-profile-field select:focus,
.alwr-ps-view-mode .alwr-profile-field textarea[readonly]:focus {
	outline: none;
	box-shadow: none;
	border-color: #e5e7eb;
}

.alwr-profile-actions { margin-top: 20px; display: flex; align-items: center; gap: 10px; }

/* ── Profile sidebar (right) ──── */
.alwr-profile-card {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 18px;
}
.alwr-profile-card-head {
	background: #1a4a7a;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 14px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.alwr-profile-card-body { padding: 14px; }

.alwr-profile-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; }
.alwr-profile-dl dt { font-weight: 600; color: #555; white-space: nowrap; }
.alwr-profile-dl dd { margin: 0; }

.alwr-status-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 3px;
	margin-left: 4px;
	vertical-align: middle;
}
.alwr-status-active   { background: #d1e7dd; color: #0a3622; }
.alwr-status-inactive { background: #f8d7da; color: #58151c; }

.alwr-profile-doc-list { list-style: none; margin: 0; padding: 0; }
.alwr-profile-doc-item {
	padding: 8px 0;
	border-bottom: 1px solid #eef0f3;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.alwr-profile-doc-item:last-child { border-bottom: none; }
.alwr-profile-doc-type { font-size: 13px; font-weight: 600; color: #222; }
.alwr-profile-doc-date { font-size: 12px; color: #888; }
.alwr-profile-doc-links { font-size: 12px; }
.alwr-profile-doc-link { color: #1a4a7a; text-decoration: none; font-weight: 600; }
.alwr-profile-doc-link:hover { text-decoration: underline; }
.alwr-profile-doc-note { font-size: 12px; color: #888; margin: 10px 0 0; font-style: italic; }

.alwr-doc-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 3px;
}
.alwr-doc-badge-approved { background: #d1e7dd; color: #0a3622; }
.alwr-doc-badge-pending  { background: #fff3cd; color: #664d03; }
.alwr-doc-badge-rejected { background: #f8d7da; color: #58151c; }

.alwr-profile-doc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.alwr-profile-pending-note { font-size: 11px; color: #888; font-style: italic; }

.alwr-profile-doc-item-rejected { background: #fff8f8; border-radius: 4px; padding: 8px; }
.alwr-profile-doc-rejection { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #f5c2c7; }
.alwr-profile-doc-reason { font-size: 12px; color: #842029; margin: 0 0 8px; }

.alwr-btn-reupload {
	font-size: 12px;
	padding: 4px 12px;
	background: #1a4a7a;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}
.alwr-btn-reupload:hover { background: #153a61; }

/* ── Upload progress bar ──────────────────────────────────────────────────── */
.alwr-upload-progress-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.alwr-upload-progress-bar {
	flex: 1;
	height: 8px;
	background: #e2e8f0;
	border-radius: 4px;
	overflow: hidden;
	max-width: 320px;
}
.alwr-upload-progress-fill {
	height: 100%;
	width: 0%;
	background: #1a4a7a;
	border-radius: 4px;
	transition: width .2s ease;
}
.alwr-upload-progress-pct {
	font-size: 12px;
	color: #555;
	min-width: 34px;
	font-weight: 600;
}
.alwr-file-info {
	display: block;
	font-size: 12px;
	color: #555;
	margin-top: 4px;
}

/* ── Pending email notice ─────────────────────────────────────────────────── */
.alwr-pending-email-notice { display: flex; align-items: center; }
.alwr-pending-email-notice p { margin: 0; }
.alwr-btn-cancel-email {
	background: none;
	border: 1px solid #664d03;
	color: #664d03;
	border-radius: 3px;
	padding: 2px 10px;
	font-size: 12px;
	cursor: pointer;
	margin-left: 6px;
	font-weight: 600;
	vertical-align: middle;
}
.alwr-btn-cancel-email:hover { background: #664d03; color: #fff; }

/* ── Magic login link section ──────────────────────────────────────────── */
.alwr-magic-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 14px;
	color: #aaa;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.alwr-magic-divider::before,
.alwr-magic-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}
.alwr-magic-section { margin-bottom: 8px; }
.alwr-magic-toggle {
	width: 100%;
	background: none;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background .12s, border-color .12s;
}
.alwr-magic-toggle:hover { background: #f9fafb; border-color: #9ca3af; }
.alwr-magic-arrow { font-size: 10px; color: #9ca3af; transition: transform .2s; }
.alwr-magic-toggle[aria-expanded="true"] .alwr-magic-arrow { transform: rotate(180deg); }
.alwr-magic-panel {
	border: 1px solid #e5e7eb;
	border-top: none;
	border-radius: 0 0 6px 6px;
	padding: 16px;
	background: #fafafa;
}
.alwr-magic-hint {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 12px;
}
.alwr-magic-msg { min-height: 24px; margin: 8px 0 10px; }
.alwr-magic-success {
	color: #0a7c59;
	font-size: 13px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 5px;
	padding: 8px 12px;
	margin: 0;
}
.alwr-magic-error {
	color: #b91c1c;
	font-size: 13px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 5px;
	padding: 8px 12px;
	margin: 0;
}
.alwr-magic-submit {
	width: 100%;
	margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ALWR EMERGENCY REQUEST — redesigned
   ═══════════════════════════════════════════════════════════════════════════ */

/* Page wrapper */
.alwr-emg-page {
	max-width: 490px;
	margin: 0 auto;
	padding: 32px 16px 40px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

/* ── Header: icon + title + subtitle ─────────────────────────────────────── */
.alwr-emg-header {
	text-align: center;
	margin-bottom: 22px;
}
.alwr-emg-icon-wrap {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #fde8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.alwr-emg-title {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #1a1a2e !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: none !important;
	letter-spacing: -0.01em;
}
.alwr-emg-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.55;
}

/* ── Error notice ─────────────────────────────────────────────────────────── */
.alwr-emg-error-notice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid #c0272b;
	border-radius: 7px;
	padding: 11px 14px;
	font-size: 13.5px;
	color: #7f1d1d;
	margin-bottom: 16px;
	line-height: 1.5;
}
.alwr-emg-error-notice svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: #c0272b;
}

/* ── Form card ────────────────────────────────────────────────────────────── */
.alwr-emg-card {
	background: #fff;
	border: 1px solid #dde3ea;
	border-left: 4px solid #c0272b;
	border-radius: 8px;
	padding: 22px 20px 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,.07);
	margin-bottom: 14px;
}

/* ── Two-column grid for Last Name / User ID ─────────────────────────────── */
.alwr-emg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 0;
}
@media (max-width: 420px) {
	.alwr-emg-grid { grid-template-columns: 1fr; }
}

/* ── Individual field ─────────────────────────────────────────────────────── */
.alwr-emg-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 14px;
}
.alwr-emg-field:last-of-type {
	margin-bottom: 0;
}
.alwr-emg-field label {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #333 !important;
	text-transform: none;
	letter-spacing: 0;
	display: block;
	margin: 0 !important;
}
.alwr-emg-field input[type="text"],
.alwr-emg-field input[type="password"] {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #ccd0d4 !important;
	border-radius: 4px;
	font-size: 14px;
	color: #1a1a2e;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
	max-width: none !important;
}
.alwr-emg-field input[type="text"]:focus,
.alwr-emg-field input[type="password"]:focus {
	outline: none;
	border-color: #c0272b !important;
	box-shadow: 0 0 0 3px rgba(192,39,43,0.10);
}
.alwr-emg-field input::placeholder { color: #b0b7c3; }

/* ── Submit button ────────────────────────────────────────────────────────── */
.alwr-emg-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 20px;
	background: #c0272b;
	color: #fff !important;
	border: none !important;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 20px;
	transition: background .15s;
	letter-spacing: 0;
}
.alwr-emg-submit:hover {
	background: #a81c1c;
}
.alwr-emg-submit:active {
	background: #8f1818;
}

/* ── 24-Hour Hotline box ──────────────────────────────────────────────────── */
.alwr-emg-hotline-box {
	background: #f3f4f6;
	border-radius: 9px;
	padding: 14px 20px;
	text-align: center;
}
.alwr-emg-hotline-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #9ca3af;
	margin-bottom: 5px;
}
.alwr-emg-hotline-number {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 21px;
	font-weight: 700;
	color: #1a1a2e;
	letter-spacing: -0.01em;
}
.alwr-emg-hotline-number svg {
	color: #3b82f6;
	flex-shrink: 0;
}

/* ── Result / documents view ──────────────────────────────────────────────── */
.alwr-emg-result-card {
	border-left-color: #0a7c59;
}
.alwr-emg-result-greeting {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}
.alwr-emg-no-docs {
	font-size: 14px;
	color: #6b7280;
	font-style: italic;
	margin: 0;
}
.alwr-emg-doc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.alwr-emg-doc-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}
.alwr-emg-doc-item:last-child { border-bottom: none; }
.alwr-emg-doc-icon-wrap {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: #fde8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c0272b;
}
.alwr-emg-doc-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.alwr-emg-doc-type {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
}
.alwr-emg-doc-meta {
	font-size: 11.5px;
	color: #9ca3af;
}
.alwr-emg-doc-btns {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}
.alwr-emg-doc-btn {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.14s;
	cursor: pointer;
}
.alwr-emg-doc-btn-view {
	background: #eff6ff;
	color: #1d4ed8 !important;
	border: 1px solid #bfdbfe;
}
.alwr-emg-doc-btn-view:hover { background: #dbeafe; }
.alwr-emg-doc-btn-dl {
	background: #f0fdf4;
	color: #166534 !important;
	border: 1px solid #bbf7d0;
}
.alwr-emg-doc-btn-dl:hover { background: #dcfce7; }
.alwr-emg-instructions {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: #6b7280;
	background: #f9fafb;
	border-radius: 6px;
	padding: 10px 12px;
}
.alwr-emg-exit-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 22px;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	cursor: pointer;
	transition: background .14s;
}
.alwr-emg-exit-btn:hover { background: #e5e7eb; color: #111827; }

.alwr-emg-search-again {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #c0272b;
	text-decoration: none;
	font-weight: 500;
}
.alwr-emg-search-again:hover { text-decoration: underline; color: #a01a1d; }

/* ═══════════════════════════════════════════════════════════════════════════
   THEME / ELEMENTOR OVERRIDE PROTECTION — every property forced !important
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── .alwr-btn base ── */
.alwr-btn { display: inline-block !important; padding: 9px 18px !important; border-radius: 4px !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer !important; border: none !important; text-decoration: none !important; box-sizing: border-box !important; line-height: normal !important; }
.alwr-btn-primary { background: #1a4a7a !important; color: #fff !important; border: none !important; }
.alwr-btn-primary:hover { background: #153d66 !important; color: #fff !important; }
.alwr-btn-download { background: #0a7c59 !important; color: #fff !important; border: none !important; }
.alwr-btn-download:hover { background: #085e44 !important; color: #fff !important; }
.alwr-btn-outline { background: transparent !important; border: 1px solid #1a4a7a !important; color: #1a4a7a !important; padding: 7px 16px !important; }
.alwr-btn-outline:hover { background: #1a4a7a !important; color: #fff !important; border-color: #1a4a7a !important; }
.alwr-btn-logout { background: rgba(255,255,255,.15) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.4) !important; font-size: 13px !important; padding: 7px 14px !important; }
.alwr-btn-logout:hover { background: rgba(255,255,255,.25) !important; color: #fff !important; }

/* ── Registration (old overrides removed — see modern styles above) ── */

/* ── Login submit ── */
.alwr-login-submit { width: 100% !important; padding: 11px !important; font-size: 15px !important; margin-top: 4px !important; }

/* ── Profile settings (alwr-ps-*) ── */
/* Two-class selector beats the single-class !important display rules below. */
.alwr-ps-btn-cancel.alwr-ps-hidden,
.alwr-ps-btn-save.alwr-ps-hidden { display: none !important; }
.alwr-ps-btn-cancel { display: inline-flex !important; align-items: center !important; gap: 5px !important; padding: 8px 16px !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; background: #fff !important; color: #374151 !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; cursor: pointer !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-ps-btn-cancel:hover { background: #f3f4f6 !important; border-color: #9ca3af !important; color: #374151 !important; }
.alwr-ps-btn-edit { display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 8px 16px !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; background: #fff !important; color: #374151 !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-ps-btn-edit:hover { background: #f0f7ff !important; border-color: #1a5276 !important; color: #1a5276 !important; }
.alwr-ps-btn-save { display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 8px 18px !important; background: #1a5276 !important; color: #fff !important; border: none !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-ps-btn-save:hover { background: #154360 !important; color: #fff !important; }
.alwr-ps-docs-add-btn { display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; width: 26px !important; height: 26px !important; border-radius: 50% !important; background: #2563eb !important; color: #fff !important; border: none !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer !important; padding: 0 !important; box-sizing: border-box !important; }
.alwr-ps-docs-add-btn:hover { background: #1d4ed8 !important; }
.alwr-ps-avatar-edit { display: flex !important; align-items: center !important; justify-content: center !important; position: absolute !important; bottom: 2px !important; right: 2px !important; width: 22px !important; height: 22px !important; border-radius: 50% !important; background: #2563eb !important; color: #fff !important; border: 2px solid #fff !important; cursor: pointer !important; padding: 0 !important; box-sizing: border-box !important; }
.alwr-ps-avatar-edit:hover { background: #1d4ed8 !important; }
.alwr-ps-btn-cancel-upload { padding: 7px 14px !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; background: #fff !important; color: #374151 !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-ps-btn-cancel-upload:hover { background: #f3f4f6 !important; }
.alwr-ps-btn-submit-upload { padding: 7px 16px !important; background: #1a5276 !important; color: #fff !important; border: none !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-ps-btn-submit-upload:hover { background: #154360 !important; color: #fff !important; }

/* ── Contact/CTA button ── */
.alwr-ps-cta-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important; width: 100% !important; padding: 10px 18px !important; background: #1a4a7a !important; color: #fff !important; border: none !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important; text-decoration: none !important; box-sizing: border-box !important; line-height: 1.4 !important; }
.alwr-ps-cta-btn:hover { background: #154360 !important; color: #fff !important; }

/* ── Misc ── */
.alwr-btn-reupload { font-size: 12px !important; padding: 4px 12px !important; background: #1a4a7a !important; color: #fff !important; border: none !important; border-radius: 4px !important; cursor: pointer !important; font-weight: 600 !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-btn-reupload:hover { background: #153a61 !important; }
.alwr-btn-cancel-email { background: none !important; border: 1px solid #664d03 !important; color: #664d03 !important; border-radius: 3px !important; padding: 2px 10px !important; font-size: 12px !important; cursor: pointer !important; font-weight: 600 !important; vertical-align: middle !important; margin-left: 6px !important; line-height: normal !important; box-sizing: border-box !important; }
.alwr-btn-cancel-email:hover { background: #664d03 !important; color: #fff !important; }

/* ── Magic-link toggle ── */
.alwr-magic-toggle { width: 100% !important; background: none !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; padding: 10px 14px !important; font-size: 14px !important; font-weight: 500 !important; color: #374151 !important; cursor: pointer !important; text-align: left !important; display: flex !important; justify-content: space-between !important; align-items: center !important; box-sizing: border-box !important; line-height: normal !important; }
.alwr-magic-toggle:hover { background: #f9fafb !important; border-color: #9ca3af !important; }
.alwr-magic-submit { width: 100% !important; margin-top: 2px !important; }

/* ── Member nav buttons shortcode [alwr_member_nav] ── */
.alwr-member-nav { display: flex !important; flex-direction: column !important; gap: 8px !important; width: 100% !important; }
.alwr-member-nav-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important; width: 100% !important; padding: 11px 18px !important; border: none !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important; text-decoration: none !important; box-sizing: border-box !important; line-height: 1.4 !important; transition: filter .15s ease !important; }
.alwr-member-nav-btn-text { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 1px !important; }
.alwr-member-nav-btn-greeting { font-size: 10px !important; font-weight: 500 !important; opacity: .8 !important; line-height: 1.2 !important; }
.alwr-member-nav-btn--register { background: #28a745 !important; color: #fff !important; }
.alwr-member-nav-btn--register:hover { filter: brightness(1.1) !important; color: #fff !important; }
.alwr-member-nav-btn--login { background: #1a2035 !important; color: #fff !important; }
.alwr-member-nav-btn--login:hover { filter: brightness(1.25) !important; color: #fff !important; }
.alwr-member-nav-btn--profile { background: #28a745 !important; color: #fff !important; }
.alwr-member-nav-btn--profile:hover { filter: brightness(1.1) !important; color: #fff !important; }
.alwr-member-nav-btn--request { background: #c0392b !important; color: #fff !important; }
.alwr-member-nav-btn--request:hover { filter: brightness(1.1) !important; color: #fff !important; }

/* ── Member ID Card ──────────────────────────────────────────────────────── */
.alwr-ps-id-section { }
.alwr-ps-id-hint {
	font-size: 12px;
	color: #64748b;
	margin: 0 0 12px;
	line-height: 1.5;
	margin-bottom: 15px !important;
}
/* Flip controls row */
.alwr-ps-id-flip-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.alwr-ps-id-side-label {
	font-size: 10px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: .06em;
}
html body .alwr-ps-flip-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	padding: 5px 11px !important;
	background: #fff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 5px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	cursor: pointer !important;
	line-height: 1.4 !important;
	font-family: inherit !important;
	box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
	text-shadow: none !important;
	height: auto !important;
	width: auto !important;
	min-height: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	vertical-align: middle !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: background .15s, border-color .15s !important;
}
html body .alwr-ps-flip-toggle:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
	color: #1e293b !important;
}
/* Flip card */
.alwr-ps-flip-outer {
	width: 100%;
	overflow: hidden;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	box-shadow: 0 1px 6px rgba(0,0,0,.10);
	background: #fff;
	margin-bottom: 16px;
}
.alwr-ps-flip-card {
	width: 336px;
	height: 192px;
	transform-origin: top left;
	/* transform: scale(s) set by JS; scaleX animated by JS during flip */
}
.alwr-ps-flip-side {
	width: 336px;
	height: 192px;
	overflow: hidden;
	box-sizing: border-box;
	padding: 12px;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
}
html body .alwr-ps-print-id-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	padding: 5px 12px !important;
	background: #1e3a5f !important;
	color: #fff !important;
	border: none !important;
	border-radius: 5px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	box-shadow: 0 1px 2px rgba(0,0,0,.12) !important;
	text-shadow: none !important;
	height: auto !important;
	width: auto !important;
	min-height: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	vertical-align: middle !important;
	text-decoration: none !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: background .15s !important;
}
html body .alwr-ps-print-id-btn:hover { background: #162d4a !important; }

/* ── Emergency request submit (override) ── */
.alwr-emg-submit { padding: 11px 20px !important; background: #c0272b !important; border-radius: 4px !important; font-weight: 600 !important; letter-spacing: 0 !important; box-shadow: none !important; }
.alwr-emg-submit:hover { background: #a81c1c !important; filter: none !important; transform: none !important; }
.alwr-emg-submit:active { background: #8f1818 !important; transform: none !important; filter: none !important; }
