/* =========================================================
   Purn Kaya - Login / Signup Page Styles
   NOTE: All classes are prefixed with "pk-auth-" so they do
   NOT clash with the existing theme CSS (style.css / global.css
   / bootstrap.css). This file is fully self-contained.
   ========================================================= */

.pk-auth-wrap {
	/* Local palette (matches site theme, but scoped here) */
	--pk-auth-green: #8ea44e;
	--pk-auth-green-dark: #31583d;
	--pk-auth-green-deep: #1f3a29;
	--pk-auth-ink: #0a1410;
	--pk-auth-muted: #6b7b6f;
	--pk-auth-line: #e2e8e0;
	--pk-auth-bg: #f4f7f2;
	--pk-auth-white: #ffffff;
	--pk-auth-danger: #d9534f;
	--pk-auth-radius: 16px;
	--pk-auth-shadow: 0 24px 60px rgba(31, 58, 41, 0.14);
	--pk-auth-font: 'Poppins', 'Be Vietnam Pro', sans-serif;

	font-family: var(--pk-auth-font);
	background:
		radial-gradient(1100px 520px at 85% -10%, rgba(142, 164, 78, 0.16), transparent 60%),
		radial-gradient(900px 500px at -5% 110%, rgba(49, 88, 61, 0.14), transparent 55%),
		var(--pk-auth-bg);
	min-height: 78vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 18px;
	box-sizing: border-box;
}

.pk-auth-wrap * {
	box-sizing: border-box;
}

/* ---------- Card ---------- */
.pk-auth-card {
	width: 100%;
	max-width: 980px;
	background: var(--pk-auth-white);
	border-radius: var(--pk-auth-radius);
	box-shadow: var(--pk-auth-shadow);
	overflow: hidden;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	border: 1px solid var(--pk-auth-line);
}

/* ---------- Left brand panel ---------- */
.pk-auth-side {
	position: relative;
	padding: 48px 40px;
	color: #fff;
	background:
		linear-gradient(150deg, var(--pk-auth-green-dark) 0%, var(--pk-auth-green-deep) 100%);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.pk-auth-side::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(320px 320px at 110% 0%, rgba(142, 164, 78, 0.55), transparent 60%),
		radial-gradient(260px 260px at -20% 100%, rgba(142, 164, 78, 0.35), transparent 60%);
	pointer-events: none;
}

.pk-auth-side-logo {
	position: relative;
	z-index: 1;
	background: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	display: inline-block;
	width: max-content;
	max-width: 210px;
}

.pk-auth-side-logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

.pk-auth-side-body {
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding-top: 40px;
}

.pk-auth-side-body h3 {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 14px;
	color: #fff;
}

.pk-auth-side-body p {
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.pk-auth-points {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	position: relative;
	z-index: 1;
}

.pk-auth-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.92);
	padding: 7px 0;
}

.pk-auth-points li i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pk-auth-green);
	color: #12240f;
	font-size: 12px;
	flex: none;
}

/* ---------- Right form panel ---------- */
.pk-auth-panel {
	padding: 46px 46px 40px;
	display: flex;
	flex-direction: column;
}

.pk-auth-tabs {
	display: flex;
	background: var(--pk-auth-bg);
	border-radius: 12px;
	padding: 5px;
	margin-bottom: 30px;
}

.pk-auth-tab {
	flex: 1;
	border: none;
	background: transparent;
	padding: 11px 10px;
	font-family: var(--pk-auth-font);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--pk-auth-muted);
	border-radius: 9px;
	cursor: pointer;
	transition: all 0.25s ease;
}

.pk-auth-tab.is-active {
	background: var(--pk-auth-green);
	color: #12240f;
	box-shadow: 0 6px 16px rgba(142, 164, 78, 0.35);
}

.pk-auth-form { display: none; }
.pk-auth-form.is-active { display: block; animation: pkAuthFade 0.35s ease; }

@keyframes pkAuthFade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.pk-auth-heading {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
	color: var(--pk-auth-ink);
}

.pk-auth-sub {
	margin: 0 0 26px;
	font-size: 14px;
	color: var(--pk-auth-muted);
}

/* ---------- Fields ---------- */
.pk-auth-field { margin-bottom: 18px; }

.pk-auth-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--pk-auth-ink);
	margin-bottom: 8px;
}

.pk-auth-input-box {
	position: relative;
	display: flex;
	align-items: center;
}

.pk-auth-input-box > i {
	position: absolute;
	left: 15px;
	color: var(--pk-auth-muted);
	font-size: 15px;
	pointer-events: none;
}

.pk-auth-field input {
	width: 100%;
	height: 50px;
	padding: 0 16px 0 42px;
	border: 1.5px solid var(--pk-auth-line);
	border-radius: 11px;
	font-family: var(--pk-auth-font);
	font-size: 14.5px;
	color: var(--pk-auth-ink);
	background: #fbfdfa;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pk-auth-field input::placeholder { color: #a7b3aa; }

.pk-auth-field input:focus {
	border-color: var(--pk-auth-green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(142, 164, 78, 0.15);
}

.pk-auth-toggle-pass {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	color: var(--pk-auth-muted);
	cursor: pointer;
	font-size: 15px;
	padding: 6px;
	line-height: 1;
}
.pk-auth-toggle-pass:hover { color: var(--pk-auth-green-dark); }

/* ---------- Row (remember / forgot) ---------- */
.pk-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 4px 0 24px;
	flex-wrap: wrap;
	gap: 10px;
}

.pk-auth-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--pk-auth-muted);
	cursor: pointer;
	user-select: none;
}

.pk-auth-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--pk-auth-green);
	cursor: pointer;
}

.pk-auth-link {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pk-auth-green-dark);
	text-decoration: none;
}
.pk-auth-link:hover { color: var(--pk-auth-green); text-decoration: underline; }

/* ---------- Button ---------- */
.pk-auth-btn {
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--pk-auth-green) 0%, var(--pk-auth-green-dark) 100%);
	color: #fff;
	font-family: var(--pk-auth-font);
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
	box-shadow: 0 12px 26px rgba(49, 88, 61, 0.28);
}
.pk-auth-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 32px rgba(49, 88, 61, 0.34); }
.pk-auth-btn:active { transform: translateY(0); }

/* ---------- Divider + switch ---------- */
.pk-auth-or {
	text-align: center;
	position: relative;
	margin: 24px 0 18px;
	color: var(--pk-auth-muted);
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.pk-auth-or::before,
.pk-auth-or::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 38%;
	height: 1px;
	background: var(--pk-auth-line);
}
.pk-auth-or::before { left: 0; }
.pk-auth-or::after { right: 0; }

.pk-auth-switch {
	text-align: center;
	font-size: 14px;
	color: var(--pk-auth-muted);
	margin: 0;
}

.pk-auth-switch button {
	background: none;
	border: none;
	color: var(--pk-auth-green-dark);
	font-family: var(--pk-auth-font);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	padding: 0 2px;
}
.pk-auth-switch button:hover { color: var(--pk-auth-green); text-decoration: underline; }

/* ---------- Inline error message ---------- */
.pk-auth-msg {
	display: none;
	font-size: 13px;
	color: var(--pk-auth-danger);
	background: rgba(217, 83, 79, 0.08);
	border: 1px solid rgba(217, 83, 79, 0.25);
	border-radius: 9px;
	padding: 10px 14px;
	margin-bottom: 18px;
}
.pk-auth-msg.is-show { display: block; }

/* ---------- Responsive ---------- */
@media only screen and (max-width: 860px) {
	.pk-auth-card { grid-template-columns: 1fr; max-width: 460px; }
	.pk-auth-side { display: none; }
	.pk-auth-panel { padding: 38px 28px 34px; }
}

@media only screen and (max-width: 480px) {
	.pk-auth-wrap { padding: 40px 12px; }
	.pk-auth-panel { padding: 30px 20px 26px; }
	.pk-auth-heading { font-size: 21px; }
}


.pk-auth-wrap
{
	height: 100vh;
}