/* ============================
   Auth (Login/Register) Standalone Styles
   Keeps forms classic, centered, under the header
   ============================ */

/* Use global spotlights; hide duplicate spotlights inside auth background */
.auth-page .auth-background .spotlight {
	display: none !important;
}
/* Keep particles off for a cleaner, less busy auth view */
.auth-page .auth-background .floating-particles {
	display: none !important;
}
/* Show the subtle grid overlay to match the homepage hero grid */
.auth-page .auth-grid {
	display: block !important;
}

/* Ensure global spotlight background is visible on auth pages */
.auth-page .spotlight-container { display: block; }

/* Auth Page Spotlight Positioning */
.auth-page .spotlight:nth-child(1) {
  width: 1000px;
  height: 1000px;
  top: -400px;
  left: 8%;
  animation-delay: 0s;
}

.auth-page .spotlight:nth-child(2) {
  width: 800px;
  height: 800px;
  top: 60%;
  right: 5%;
  animation-delay: -10s;
  animation-duration: 25s;
  background: radial-gradient(circle,
    rgba(138, 43, 226, 0.6) 0%,
    rgba(75, 0, 130, 0.4) 25%,
    rgba(25, 25, 112, 0.2) 50%,
    rgba(0, 0, 139, 0.08) 75%,
    transparent 100%);
}

.auth-page .spotlight:nth-child(3) {
  width: 900px;
  height: 900px;
  bottom: -300px;
  left: 25%;
  animation-delay: -20s;
  animation-duration: 35s;
  background: radial-gradient(circle,
    rgba(255, 140, 0, 0.55) 0%,
    rgba(255, 69, 0, 0.35) 25%,
    rgba(205, 92, 92, 0.2) 50%,
    rgba(178, 34, 52, 0.08) 75%,
    transparent 100%);
}

.auth-page .spotlight:nth-child(4) {
  width: 600px;
  height: 600px;
  top: 75%;
  right: 35%;
  animation-delay: -5s;
  animation-duration: 20s;
  background: radial-gradient(circle,
    rgba(255, 215, 0, 0.65) 0%,
    rgba(218, 165, 32, 0.4) 25%,
    rgba(184, 134, 11, 0.22) 50%,
    rgba(153, 101, 21, 0.08) 75%,
    transparent 100%);
}

.auth-page .spotlight:nth-child(5) {
  width: 700px;
  height: 700px;
  top: 35%;
  left: -150px;
  animation-delay: -15s;
  animation-duration: 28s;
  background: radial-gradient(circle,
    rgba(176, 196, 222, 0.5) 0%,
    rgba(119, 136, 153, 0.32) 25%,
    rgba(112, 128, 144, 0.18) 50%,
    rgba(105, 105, 105, 0.08) 75%,
    transparent 100%);
}

/* Dark mode support for auth page spotlights */
.auth-page [data-theme="dark"] .spotlight {
  mix-blend-mode: screen !important;
}

/* Make navbar match homepage (transparent, fixed overlay) */
.auth-page .navbar {
	position: fixed;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
	width: 100%;
}

/* Make nav-container full width on auth pages */
.auth-page .nav-container {
	max-width: 100%;
	padding: var(--spacing-md) var(--spacing-lg);
}

/* Container centers the content under the header */
.auth-page .auth-container {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: var(--spacing-xl);
	/* Extra top padding so content doesn't sit under fixed navbar */
	padding-top: 96px;
	background: transparent;
}

/* Keep the content narrow and centered */
.auth-page .auth-content {
	width: 100%;
	max-width: 900px;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

/* Modern centered form card with compact design */
.auth-page .auth-card {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	background: var(--bg-secondary);
	border: 2px solid rgba(192, 192, 192, 0.15);
	border-radius: var(--radius-xl);
	padding: var(--spacing-xl);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20px);
	position: relative;
	overflow: hidden;
}

/* Split card layout - two columns */
.auth-page .auth-card-split {
	max-width: 900px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	border-radius: var(--radius-xl);
	overflow: hidden;
	padding: 0;
}

/* Wide card layout - single wide card */
.auth-page .auth-card-wide {
	max-width: 900px;
	width: 100%;
	padding: var(--spacing-xl);
}

/* Left side - Form section */
 .auth-page .auth-form-section {
 	background: var(--bg-secondary);
 	padding: var(--spacing-2xl);
 	display: flex;
 	flex-direction: column;
 	justify-content: center;
 }

.auth-page .auth-card-split .auth-form-section {
	padding: var(--spacing-lg) var(--spacing-2xl) var(--spacing-2xl);
	justify-content: flex-start;
}

[data-theme="light"] .auth-page .auth-form-section {
	background: white;
}

/* Right side - Social section */
.auth-page .auth-social-section {
	background: var(--bg-secondary);
	padding: var(--spacing-2xl);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

[data-theme="light"] .auth-page .auth-social-section {
	background: white;
}

.auth-page .social-header {
	margin-bottom: var(--spacing-2xl);
}

.auth-page .social-title {
	font-size: var(--font-size-2xl);
	font-weight: var(--font-weight-bold);
	color: var(--text-primary);
	margin-bottom: var(--spacing-md);
}

.auth-page .social-description {
	font-size: var(--font-size-base);
	color: var(--text-secondary);
	line-height: var(--line-height-relaxed);
}

.auth-page .auth-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

/* Hide side visuals completely for cleaner look */
.auth-page .auth-code-preview,
.auth-page .auth-benefits {
	display: none !important;
}

/* Inputs spacing tweaks */
.auth-page .modern-form .form-group { 
    margin-bottom: var(--spacing-md); 
}

.auth-page .auth-card-split .modern-form .form-group {
    margin-bottom: var(--spacing-sm);
}

/* Submit button full width and compact */
.auth-page .btn-full { 
	width: 100%; 
	padding: var(--spacing-md) var(--spacing-lg);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-semibold);
	border-radius: var(--radius-md);
	transition: all 0.3s ease;
}

/* Enhanced form styling */
.auth-page .auth-header {
	text-align: left;
	margin-bottom: var(--spacing-xl);
	padding-bottom: var(--spacing-md);
	border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.auth-page .auth-card-split .auth-header {
	grid-column: 1 / -1;
	margin-bottom: 0;
	padding: var(--spacing-2xl) var(--spacing-2xl) var(--spacing-lg);
	border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.auth-page .auth-card-wide .auth-header {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	padding-bottom: var(--spacing-md);
	border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.auth-page .auth-logo {
	margin-bottom: var(--spacing-md);
}

.auth-page .auth-title {
	font-size: var(--font-size-2xl);
	font-weight: var(--font-weight-bold);
	color: var(--text-primary);
	margin-bottom: var(--spacing-xs);
}

.auth-page .auth-description {
	color: var(--text-secondary);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-medium);
}

.auth-page .modern-form .form-group {
	margin-bottom: var(--spacing-md);
}

.auth-page .auth-card-split .modern-form .form-group {
	margin-bottom: var(--spacing-sm);
}

.auth-page .auth-card-wide .modern-form .form-group {
	margin-bottom: var(--spacing-sm);
}

.auth-page .modern-form .form-input {
	padding: var(--spacing-md);
	font-size: var(--font-size-base);
	border-radius: var(--radius-md);
	border: 1px solid rgba(192, 192, 192, 0.1);
	background: var(--bg-tertiary);
	transition: all 0.3s ease;
}

/* Light mode - white background for all inputs in split card */
[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .modern-form .form-input {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

/* All inputs same size - normal */
.auth-page .auth-card-split .auth-form-section .form-input {
	padding: var(--spacing-md);
	font-size: var(--font-size-base);
	height: auto;
	min-height: 48px;
	box-sizing: border-box;
	line-height: 1.5;
}

.auth-page .auth-card-split .auth-form-section .password-input {
	position: relative;
}

.auth-page .auth-card-split .auth-form-section .password-input .form-input {
	padding: var(--spacing-md);
	padding-right: calc(var(--spacing-md) + 24px + var(--spacing-sm));
	font-size: var(--font-size-base);
	height: auto;
	min-height: 48px;
	box-sizing: border-box;
	line-height: 1.5;
}

.auth-page .auth-card-split .auth-form-section select.form-input {
	padding-right: calc(var(--spacing-lg) + 30px);
}

/* Light mode - white background for left side inputs */
[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .form-input {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .form-input:focus {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: var(--primary-color);
}

[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .password-input .form-input {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .password-input .form-input:focus {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

.auth-page .auth-card-wide .modern-form .form-input {
	padding: var(--spacing-sm) var(--spacing-md);
	font-size: var(--font-size-sm);
}

.auth-page .modern-form .form-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(192, 192, 192, 0.1);
	background: var(--bg-secondary);
}

/* Light mode - keep white background on focus for left side inputs */
[data-theme="light"] .auth-page .auth-card-split .auth-form-section:first-child .modern-form .form-input:focus {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

.auth-page .modern-form .form-label {
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-semibold);
	margin-bottom: var(--spacing-md);
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	color: var(--text-primary);
}

/* All labels same size - normal */
.auth-page .auth-card-split .auth-form-section .form-label {
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-semibold);
	margin-bottom: var(--spacing-sm);
}

.auth-page .auth-card-wide .modern-form .form-label {
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	margin-bottom: var(--spacing-xs);
}

.auth-page .form-divider {
	margin: var(--spacing-lg) 0;
	text-align: center;
	position: relative;
}

.auth-page .form-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(192, 192, 192, 0.1);
}

.auth-page .form-divider span {
	background: var(--bg-secondary);
	padding: 0 var(--spacing-lg);
	color: var(--text-secondary);
	font-weight: var(--font-weight-medium);
}

.auth-page .social-login {
	display: grid;
	gap: var(--spacing-md);
	width: 100%;
}

.auth-page .btn-social {
	padding: var(--spacing-md) var(--spacing-lg);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-semibold);
	border-radius: var(--radius-md);
	border: 1px solid var(--bg-quaternary);
	background: var(--bg-tertiary);
	color: var(--text-primary);
	transition: all 0.3s ease;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
}

.auth-page .auth-social-section .btn-social:hover {
	background: var(--bg-secondary);
	border-color: var(--primary-color);
	color: var(--text-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-page .auth-footer {
	text-align: center;
	margin-top: var(--spacing-xl);
	padding-top: var(--spacing-lg);
	border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.auth-page .auth-social-section .auth-footer {
	border-top: 1px solid var(--bg-quaternary);
	margin-top: auto;
	padding-top: var(--spacing-lg);
}

.auth-page .auth-social-section .auth-footer p {
	color: var(--text-secondary);
}

.auth-page .auth-social-section .auth-link {
	color: var(--primary-color);
	text-decoration: underline;
	font-weight: var(--font-weight-semibold);
}

.auth-page .auth-link {
	color: var(--primary-color);
	font-weight: var(--font-weight-semibold);
	text-decoration: none;
}

.auth-page .auth-link:hover {
	color: var(--secondary-color);
}

/* Additional Form Styling */
.auth-page .form-section-header {
	margin: var(--spacing-xl) 0 var(--spacing-md) 0;
	padding: var(--spacing-md) 0;
	border-top: 1px solid rgba(192, 192, 192, 0.1);
	text-align: center;
}

.auth-page .form-section-header h3 {
	font-size: var(--font-size-lg);
	font-weight: var(--font-weight-bold);
	color: var(--text-primary);
	margin-bottom: var(--spacing-xs);
}

.auth-page .form-section-header p {
	color: var(--text-secondary);
	font-size: var(--font-size-sm);
}

.auth-page .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-md);
}

@media (max-width: 768px) {
	.auth-page .form-row {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
}

.auth-page .form-textarea {
	min-height: 100px;
	resize: vertical;
	font-family: var(--font-family-primary);
}

/* Textarea same size */
.auth-page .auth-card-split .auth-form-section .form-textarea {
	min-height: 100px;
	padding: var(--spacing-md);
	font-size: var(--font-size-base);
}

.auth-page .input-hint {
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
	margin-top: var(--spacing-sm);
	font-size: var(--font-size-sm);
	color: var(--text-muted);
}

.auth-page .input-hint i {
	color: var(--primary-color);
}

/* Select styling */
.auth-page select.form-input {
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0c0c0' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right var(--spacing-lg) center;
	background-size: 20px;
	padding-right: calc(var(--spacing-lg) + 30px);
	appearance: none;
}

.auth-page select.form-input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Desktop: keep single column for cleaner design */
@media (min-width: 1200px) {
	.auth-page .auth-content {
		grid-template-columns: 1fr;
		max-width: 900px;
		margin: 0 auto;
	}
	
	.auth-page .auth-card {
		max-width: 420px;
		padding: var(--spacing-xl);
	}
	
	.auth-page .auth-card-split {
		max-width: 900px;
	}
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
	.auth-page .auth-card-split {
		grid-template-columns: 1fr;
	}
	
	.auth-page .auth-form-section,
	.auth-page .auth-social-section {
		padding: var(--spacing-xl);
	}
}


