/* auth-dark.css
   Shared by create-profile.html, login.html, profile.html, verify-email.html.
   Built on top of Sports.css — uses the same --blue / --blue-dark / --accent /
   --green variables so these pages match the rest of the dark-theme site. */

.page {
	max-width: 560px;
	margin: 0 auto;
	padding: 50px 20px 80px;
}

.profile-card {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--blue);
	border-radius: 10px;
	padding: 34px 30px;
	backdrop-filter: blur(4px);
}

.card-head { margin-bottom: 24px; }

.card-head .eyebrow {
	display: block;
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: bold;
	margin: 0 0 10px;
}

.card-head h1 {
	font-family: 'Times New Roman', serif;
	font-size: 30px;
	letter-spacing: 0.5px;
	margin: 0 0 10px;
}

.card-head p {
	color: rgba(245, 245, 245, 0.75);
	line-height: 1.6;
	margin: 0;
}

.profile-card > p {
	color: rgba(245, 245, 245, 0.75);
	line-height: 1.6;
}

/* ---- Form fields ---- */
.form-group { margin-bottom: 18px; }

.form-group label {
	display: block;
	font-size: 13px;
	font-weight: bold;
	color: rgba(245, 245, 245, 0.8);
	margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	color: white;
	font-size: 15px;
	font-family: Arial, Helvetica, sans-serif;
	padding: 11px 14px;
	box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(245, 245, 245, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.form-group select option { color: #111; }

.optional-tag {
	font-size: 11px;
	font-weight: normal;
	color: rgba(245, 245, 245, 0.5);
	text-transform: none;
	letter-spacing: 0;
	margin-left: 6px;
}

/* ---- Buttons ---- */
.form-nav {
	display: flex;
	gap: 12px;
	margin-top: 22px;
	flex-wrap: wrap;
}

.btn-solid {
	background: var(--blue);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: 0.25s ease;
}
.btn-solid:hover { background: steelblue; }
.btn-solid:disabled { opacity: 0.6; cursor: default; }

.btn-ghost {
	background: transparent;
	color: rgba(245, 245, 245, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: 0.25s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.auth-switch {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: rgba(245, 245, 245, 0.7);
}
.auth-switch a { color: var(--accent); font-weight: bold; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ---- Error / status banner ---- */
.form-error {
	background: rgba(214, 69, 69, 0.15);
	color: #ff9b9b;
	border: 1px solid rgba(214, 69, 69, 0.4);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 14px 0;
}

/* ---- Progress track (create-profile.html) ---- */
.progress-track {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin: 0 0 30px;
	padding-top: 6px;
}
.progress-track::before {
	content: '';
	position: absolute;
	top: 17px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: rgba(255, 255, 255, 0.15);
	z-index: 0;
}
.progress-fill {
	position: absolute;
	top: 17px;
	left: 20px;
	height: 2px;
	background: var(--accent);
	z-index: 1;
	transition: width 0.3s ease;
}
.progress-step {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
}
.progress-step .dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(245, 245, 245, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
}
.progress-step.active .dot,
.progress-step.completed .dot {
	background: var(--blue);
	border-color: var(--blue);
	color: white;
}
.progress-step .step-label {
	font-size: 11px;
	color: rgba(245, 245, 245, 0.6);
	text-align: center;
}
.progress-step.active .step-label { color: var(--accent); }

/* ---- Avatar upload (create-profile.html) ---- */
.profile-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
}
.avatar-ring {
	position: relative;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 2px solid var(--blue);
	padding: 3px;
}
.avatar-ring img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.1);
}
.avatar-edit {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 13px;
	border: 2px solid #001b38;
}
.profile-image input[type="file"] { display: none; }
.avatar-hint {
	font-size: 12px;
	color: rgba(245, 245, 245, 0.55);
}

/* ---- Sport chip checkboxes (create-profile.html) ---- */
.sport-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 16px 0 20px;
}
.sport-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 14px;
	transition: 0.2s ease;
}
.sport-chip:has(input:checked) {
	border-color: var(--accent);
	background: rgba(110, 168, 255, 0.15);
}
.sport-chip input { accent-color: var(--blue); }
.step-subtext {
	font-size: 13.5px;
	color: rgba(245, 245, 245, 0.65);
	margin: -8px 0 4px;
}

/* ---- Privacy checkboxes (create-profile.html) ---- */
.privacy-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14.5px;
	cursor: pointer;
}
.privacy-option:last-child { border-bottom: none; }
.privacy-option input { accent-color: var(--blue); width: 16px; height: 16px; }

/* ---- Profile view fields (profile.html) ---- */
.profile-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-field:last-of-type { border-bottom: none; }
.profile-field .profile-label {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(245, 245, 245, 0.5);
}
.profile-field .field-value {
	font-size: 15.5px;
	color: white;
}
