/**
 * PerfectVision Golf — Sign In / Create Account Styles
 *
 * Two-panel layout matching the client wireframe:
 *   Left:  Login (username + password)
 *   Right: Create Account CTA → expandable registration form
 */

/* =========================================================================
   Container
   ========================================================================= */

.pvg-auth-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

/* =========================================================================
   Notices
   ========================================================================= */

.pvg-auth-notice {
	padding: 14px 18px;
	border-radius: 4px;
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 500;
}

.pvg-auth-notice-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.pvg-auth-notice-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* =========================================================================
   Two-Panel Layout
   ========================================================================= */

.pvg-auth-panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
}

@media (max-width: 767px) {
	.pvg-auth-panels {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   Panel Base
   ========================================================================= */

.pvg-auth-panel {
	border: 1px solid #ddd;
	padding: 40px;
}

.pvg-auth-panel h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 24px;
	color: #000;
}

/* =========================================================================
   Form Fields
   ========================================================================= */

.pvg-auth-field {
	margin-bottom: 18px;
}

.pvg-auth-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #333;
	margin-bottom: 6px;
}

.pvg-auth-field label .required {
	color: #e74c3c;
}

.pvg-auth-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 0;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.pvg-auth-field input:focus {
	border-color: #6ABF69;
	outline: none;
}

.pvg-auth-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

@media (max-width: 575px) {
	.pvg-auth-field-row {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   Forgot Password
   ========================================================================= */

.pvg-auth-forgot {
	margin: -8px 0 20px;
}

.pvg-auth-forgot a {
	font-size: 13px;
	color: #6ABF69;
	text-decoration: none;
	font-weight: 600;
}

.pvg-auth-forgot a:hover {
	color: #3d8c3b;
	text-decoration: underline;
}

/* =========================================================================
   Password Hint
   ========================================================================= */

.pvg-auth-password-hint {
	font-size: 12px;
	color: #888;
	margin: -10px 0 20px;
	font-style: italic;
}

/* =========================================================================
   Auth Button
   ========================================================================= */

.pvg-btn-auth {
	display: block;
	width: 100%;
	padding: 14px 30px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	text-align: center;
	border: 2px solid #6ABF69;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	background: #6ABF69;
	color: #fff;
	font-family: inherit;
}

.pvg-btn-auth:hover {
	background: #fff;
	color: #6ABF69;
	border-color: #6ABF69;
}

/* =========================================================================
   Create Account Panel — Intro State
   ========================================================================= */

.pvg-auth-register-intro {
	text-align: center;
}

.pvg-auth-register-intro h2 {
	margin-bottom: 12px;
}

.pvg-auth-register-intro p {
	color: #555;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 28px;
}

/* =========================================================================
   Create Account Panel — Form State (hidden by default)
   ========================================================================= */

.pvg-auth-register-form {
	display: none;
}

.pvg-auth-register-form.pvg-auth-visible {
	display: block;
}

/* When intro is hidden (via JS) */
.pvg-auth-register-intro.pvg-auth-hidden {
	display: none;
}
