/* ============================================
   SIGNUP PAGE SPECIFIC STYLES
   Minimal custom CSS - Bootstrap does the heavy lifting
============================================ */

/* Signup Page Styles */

/* Dark theme background */
body {
	background: url("../images/background.png") center/cover fixed;
	background-color: #000000;
	min-height: 100vh;
}

/* Form container */
.signup-container {
	min-height: 100vh;
	padding-top: 100px;
	padding-bottom: 50px;
}

.signup-form {
	background: transparent;
	border-radius: 0;
	padding: 0;
	backdrop-filter: none;
	border: none;
}

/* Step indicator */
.step-indicator {
	margin-bottom: 2rem;
}

.step {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transition: all 0.3s ease;
}

.step.active {
	background: #007bff;
	border-color: #007bff;
	color: white;
}

.step.completed {
	background: #28a745;
	border-color: #28a745;
	color: white;
}

.step-line {
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	flex: 1;
	margin: 0 1rem;
}

.step-line.completed {
	background: #28a745;
}

/* Form steps */
.form-step {
	display: none;
}

.form-step.active {
	display: block;
}

/* Form inputs */
.form-control {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.75rem;
}

.form-control:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: #007bff;
	color: white;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.form-label {
	color: white !important;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

/* Choice buttons */
.btn-choice {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white !important;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.btn-choice:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white !important;
	transform: translateY(-1px);
}

.btn-choice.active,
.btn-check:checked + .btn-choice {
	background: #007bff !important;
	border-color: #007bff !important;
	color: white !important;
}

.btn-choice-large {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white !important;
	padding: 2rem 1.5rem;
	border-radius: 15px;
	transition: all 0.3s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 150px;
	justify-content: center;
}

.btn-choice-large:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white !important;
	transform: translateY(-2px);
}

.btn-choice-large.active,
.btn-check:checked + .btn-choice-large {
	background: #007bff !important;
	border-color: #007bff !important;
	color: white !important;
}

/* OTP inputs */
.otp-input {
	width: 50px;
	height: 50px;
	font-size: 1.25rem;
	font-weight: bold;
}

/* Primary button */
.btn-signup-primary {
	background-color: #007bff !important;
}

.btn-signup-primary:hover {
	background-color: #0056b3 !important;
}

/* Back button */
.btn-back {
	background: white;
	color: #007bff;
	border: 1px solid white;
}

.btn-back:hover {
	background: #f8f9fa;
	color: #007bff;
}

/* Text colors */
.text-white {
	color: white !important;
}

/* Form check labels */
.form-check-label {
	color: white !important;
}

/* Availability indicators */
.availability-indicator {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	font-size: 0.9rem;
	font-weight: 500;
	pointer-events: none;
	z-index: 10;
}

.availability-indicator.checking {
	color: #ffc107;
}

.availability-indicator.available {
	color: #28a745;
}

.availability-indicator.unavailable {
	color: #dc3545;
}

.availability-indicator.invalid {
	color: #dc3545;
}

/* Field error messages */
.field-error-message {
	font-size: 0.875rem;
	color: #dc3545;
	margin-top: 0.25rem;
	min-height: 1.2rem;
	display: block;
}

/* Input field error states */
.form-control.error {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.success {
	border-color: #28a745 !important;
	box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

/* Responsive design */
@media (max-width: 768px) {
	.signup-form {
		padding: 0;
	}

	.step {
		width: 35px;
		height: 35px;
		font-size: 0.9rem;
	}

	.btn-choice {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.btn-choice-large {
		padding: 1.5rem 1rem;
		min-height: 120px;
	}
}

/* ============================================
   SIGNUP PAGE SPECIFIC STYLES
   Minimal custom CSS - Bootstrap does the heavy lifting
============================================ */

.signup-section {
	background: url("../images/background.png") center/cover;
	background-attachment: fixed;
	min-height: 100vh;
	padding-top: 100px;
	padding-bottom: 60px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.signup-container {
	position: relative;
	z-index: 2;
	width: 100%;
	text-align: center;
}

.signup-title {
	color: white;
	font-weight: 400;
	margin-bottom: 1.5rem;
	font-family: var(--font-heading);
}

.signup-subtitle {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 3rem;
	line-height: 1.5;
}

.form-group {
	margin-bottom: 1.5rem;
}

.checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.checkbox-input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.checkbox-label {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.4;
}

.checkbox-label a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
}

.continue-btn {
	background: #1e40af;
	border: none;
	border-radius: 25px;
	color: white;
	font-weight: 600;
	padding: 12px 0;
	width: 100%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.continue-btn:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

/* Custom checkbox styling */
.form-check-input {
	background-color: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
	background-color: #1e40af;
	border-color: #1e40af;
}

.form-check-input:focus {
	border-color: #1e40af;
	box-shadow: 0 0 0 0.25rem rgba(30, 64, 175, 0.25);
}

/* Links styling */
.signup-section a {
	color: #ffffff !important;
	text-decoration: underline;
}

.signup-section a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}

/* Form Steps */
.form-step {
	display: none;
}

.form-step.active {
	display: block;
}

/* Progress Indicator */
.progress-step {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	transition: all 0.3s ease;
}

.progress-step.active {
	background: #1e40af;
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

.progress-step.completed {
	background: #10b981;
}

.progress-line {
	width: 30px;
	height: 2px;
	background: rgba(255, 255, 255, 0.2);
}

/* Choice Buttons */
.btn-choice {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.btn-choice:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	transform: translateY(-1px);
}

.btn-check:checked + .btn-choice {
	background: #1e40af;
	border-color: #1e40af;
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Large Choice Buttons for Verification */
.btn-choice-large {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 2rem 1.5rem;
	border-radius: 15px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
}

.btn-choice-large:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	transform: translateY(-2px);
}

.btn-check:checked + .btn-choice-large {
	background: #1e40af;
	border-color: #1e40af;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

/* OTP Inputs */
.otp-input {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.15) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: white !important;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
}

.otp-input:focus {
	background: rgba(255, 255, 255, 0.2) !important;
	border-color: #1e40af !important;
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3) !important;
}

/* Interest Pills */
.btn-interest {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	margin: 0.25rem;
}

.btn-interest:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	transform: translateY(-1px);
}

.btn-check:checked + .btn-interest {
	background: #1e40af;
	border-color: #1e40af;
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

/* Subscription Cards */
.subscription-card {
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 15px;
	padding: 2rem 1.5rem;
	transition: all 0.3s ease;
	cursor: pointer;
	display: block;
	text-decoration: none;
}

.subscription-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-check:checked + .subscription-card {
	background: rgba(30, 64, 175, 0.2);
	border-color: #1e40af;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.subscription-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.subscription-header .price {
	font-size: 1.5rem;
	font-weight: 700;
}

.subscription-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.subscription-features li {
	color: rgba(255, 255, 255, 0.9);
	padding: 0.5rem 0;
	position: relative;
	padding-left: 1.5rem;
}

.subscription-features li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

/* Responsive */
@media (max-width: 575.98px) {
	.signup-section {
		padding-top: 80px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.signup-title {
		font-size: 2rem;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.progress-step {
		width: 30px;
		height: 30px;
		font-size: 0.8rem;
	}

	.progress-line {
		width: 20px;
	}

	.btn-choice {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}

	.btn-choice-large {
		padding: 1.5rem 1rem;
	}

	.otp-input {
		width: 50px;
		height: 50px;
	}

	.subscription-card {
		margin-bottom: 1rem;
	}
}

/* Custom signup button styling */
.btn-signup-primary {
	background-color: #1e40af !important;
	border-color: #1e40af !important;
}

.btn-signup-primary:hover,
.btn-signup-primary:focus,
.btn-signup-primary:active {
	background-color: #1e3a8a !important;
	border-color: #1e3a8a !important;
}

/* Back button styling - white background by default */
.btn-back {
	background-color: white !important;
	border-color: white !important;
	color: #1e40af !important;
}

.btn-back:hover,
.btn-back:focus,
.btn-back:active {
	background-color: #f8f9fa !important;
	border-color: #f8f9fa !important;
	color: #1e3a8a !important;
}
