/**
 * Pakistan Law Hub — Custom Sign In styling.
 * Matches the theme's teal/amber palette and Cormorant/Outfit typography.
 */

.pkh-auth-wrap {
	--teal: #0d9488;
	--teal-dark: #0f766e;
	--teal-pale: #f0fdfa;
	--amber: #f59e0b;
	--ink: #0f172a;
	--muted: #6b7280;
	--border: #e5e7eb;

	display: flex;
	justify-content: center;
	padding: 56px 16px;
}

.pkh-auth-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 36px 32px;
	box-shadow: 0 12px 40px rgba(13, 148, 136, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pkh-auth-avatars {
	display: flex;
	gap: -8px;
	margin-bottom: 16px;
}

.pkh-auth-avatars span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--teal-pale);
	color: var(--teal-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 700;
	border: 2px solid #fff;
	margin-left: -10px;
}
.pkh-auth-avatars span:first-child { margin-left: 0; }
.pkh-auth-avatars span:last-child { background: var(--amber); color: #fff; }

.pkh-auth-heading {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 6px;
	line-height: 1.2;
}

.pkh-auth-sub {
	color: var(--muted);
	font-size: 0.92rem;
	margin: 0 0 24px;
	line-height: 1.5;
}

.pkh-auth-tabs {
	display: flex;
	background: var(--teal-pale);
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 24px;
}

.pkh-tab {
	flex: 1;
	border: none;
	background: transparent;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--teal-dark);
	cursor: pointer;
	font-family: 'Outfit', sans-serif;
	transition: background 0.2s, color 0.2s;
}

.pkh-tab.active {
	background: var(--teal);
	color: #fff;
	box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.pkh-tab:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 2px;
}

.pkh-auth-panel {
	display: block;
}
.pkh-auth-panel[hidden] {
	display: none;
}

.pkh-auth-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pkh-auth-form label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink);
	margin-top: 12px;
	margin-bottom: 2px;
}

.pkh-auth-form input[type="text"],
.pkh-auth-form input[type="email"],
.pkh-auth-form input[type="password"] {
	padding: 11px 14px;
	border: 1.5px solid var(--border);
	border-radius: 9px;
	font-size: 0.94rem;
	font-family: 'Outfit', sans-serif;
	width: 100%;
}

.pkh-auth-form input:focus {
	border-color: var(--teal);
	outline: 2px solid var(--teal-pale);
}

.pkh-auth-remember {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
	font-weight: 400 !important;
	font-size: 0.85rem !important;
	color: var(--muted);
	margin-top: 14px !important;
}
.pkh-auth-remember input {
	width: auto;
}

.pkh-auth-submit {
	margin-top: 22px;
	width: 100%;
	border: none;
	padding: 13px;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	background: var(--teal);
	color: #fff;
	font-family: 'Outfit', sans-serif;
	transition: background 0.2s, transform 0.15s;
}
.pkh-auth-submit:hover {
	background: var(--teal-dark);
	transform: translateY(-1px);
}

.pkh-auth-links {
	text-align: center;
	margin-top: 18px;
	font-size: 0.85rem;
}
.pkh-auth-links a {
	color: var(--teal);
	text-decoration: none;
}
.pkh-auth-links a:hover {
	text-decoration: underline;
}

.pkh-auth-notice {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
	border-radius: 9px;
	padding: 11px 14px;
	font-size: 0.85rem;
	margin-bottom: 18px;
}
.pkh-auth-notice.pkh-auth-error {
	background: #fef2f2;
	color: #991b1b;
	border-color: #fecaca;
}

.pkh-auth-signed-in {
	text-align: center;
}
.pkh-auth-signed-in h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	margin-bottom: 20px;
}
.pkh-auth-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.pkh-auth-card {
		padding: 28px 22px;
	}
}
