/* ===== SIGNUP PAGE STYLES ===== */

body {
	background: #0a0a0f;
	color: #f5f5f7;
	overflow-x: hidden;
}

.signup-container {
	position: relative;
	min-height: calc(100vh - 65px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
}

.gradient-bg-1 {
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
}

.gradient-bg-2 {
	position: absolute;
	bottom: -140px;
	right: -140px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
}

.signup-box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
}

.form-card {
	background: #12141c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.form-card h1 {
	font-family: var(--font-heading), sans-serif;
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 6px;
	text-align: center;
}

.form-card .subtitle {
	font-size: 18.5px;
  	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 22px;
	text-align: center;
}

.success-screen {
	display: none;
	text-align: center;
	padding: 20px 0;
}

.success-screen.active {
	display: block;
}

.success-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #22d3ee);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.success-icon svg {
	width: 26px;
	height: 26px;
}

.error-banner {
	display: none;
	align-items: center;
	gap: 10px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 10px;
	padding: 11px 14px;
	margin-bottom: 18px;
}

.error-banner.active {
	display: flex;
}

.error-text {
	font-size: 12.5px;
	color: #f87171;
	flex: 1;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-group label {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 7px;
}

.input-wrapper {
	position: relative;
}

.input-wrapper svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	stroke: rgba(255, 255, 255, 0.4);
	stroke-width: 2;
	fill: none;
}

.form-group input {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
  	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 9px;
	padding: 11px 14px 11px 40px;
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
}

.form-group input:focus {
	border-color: rgba(255, 255, 255, 0.3);
}

.form-group input.error {
	border-color: #f87171;
}

.error-message {
	font-size: 12px;
	color: #f87171;
	margin-top: 6px;
}

.toggle-password {
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	font-weight: 600;
	background: none;
	border: none;
	padding: 0;
}

.strength-meter {
	display: flex;
	gap: 5px;
	margin-top: 8px;
}

.strength-bar {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.1);
}

.strength-label {
	font-size: 11.5px;
	margin-top: 5px;
	font-weight: 600;
}

.terms-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 12.5px;
	line-height: 1.5;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.6);
}

.terms-checkbox input {
	width: 14px;
	height: 14px;
	margin-top: 2px;
	cursor: pointer;
	flex: none;
	padding: 0;
	accent-color: #7c3aed;
}

.terms-checkbox a {
	background: linear-gradient(90deg, #8b5cf6, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-decoration: none;
	font-weight: 700;
}

.submit-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(90deg, #7c3aed, #3b82f6);
	color: #fff;
	border: none;
	font-size: 16.5px;
	font-weight: 600;
	padding: 13px;
	border-radius: 999px;
	cursor: pointer;
	margin-top: 2px;
	transition: filter 0.2s;
}

.submit-button:hover:not(:disabled) {
	filter: brightness(1.12);
}

.submit-button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.spinner {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fbspin 0.7s linear infinite;
}

@keyframes fbspin {
	to { transform: rotate(360deg); }
}

.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 2px 0;
}

.divider-line {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.divider-text {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.google-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 16.5px;
	font-weight: 600;
	padding: 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s;
}

.google-button:hover {
	background: rgba(255, 255, 255, 0.06);
}

.footer-text {
	text-align: center;
	margin-top: 22px;
	font-size: 16.5px;
  	color: rgba(255, 255, 255, 0.85);
}

.footer-text a {
	background: linear-gradient(90deg, #8b5cf6, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-decoration: none;
	font-weight: 700;
}
