
.account-main {
	min-height: calc(100vh - 82px);
	display: grid;
	place-items: center;
	padding: 55px 20px;
	background: radial-gradient(ellipse at center, rgba(25, 134, 184, 0.13), transparent 65%);
}

.account-panel {
	width: min(100%, 480px);
	padding: 38px;
	background: #0a111c;
	border: 1px solid rgba(115, 196, 231, 0.2);
	border-radius: 16px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.account-panel h1 {
	margin-top: 18px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 38px;
	letter-spacing: -2px;
}

.account-panel h1 span {
	color: #66d9ff;
}

.account-panel > p:not(.eyebrow) {
	margin-top: 12px;
	color: #91a7b9;
	font-size: 14px;
	line-height: 1.7;
}

.account-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 30px 0 20px;
	padding: 5px;
	background: #05080e;
	border-radius: 9px;
}

.account-tabs button {
	padding: 12px;
	background: transparent;
	color: #91a7b9;
	border: 1px solid transparent;
	border-radius: 7px;
	font-weight: 700;
	cursor: pointer;
}

.account-tabs button.active {
	background: #142638;
	border-color: rgba(102, 217, 255, 0.25);
	color: #a3eaff;
}

.google-button {
	width: 100%;
	padding: 14px;
	background: #f3f7fa;
	color: #17212b;
	border: none;
	border-radius: 8px;
	font-weight: 800;
	cursor: pointer;
	transition: 0.2s;
}

.google-button:hover {
	background: #dcecf5;
	transform: translateY(-2px);
}

.form-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #71889a;
	font-size: 11px;
}

.form-divider::before,
.form-divider::after {
	content: "";
	height: 1px;
	flex: 1;
	background: #24445a;
}

#auth-form,
#password-setup-form,
#profile-form {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.account-panel label {
	margin-top: 8px;
	color: #c7e9f7;
	font-size: 13px;
	font-weight: 700;
}

.account-panel input {
	width: 100%;
	padding: 14px;
	background: #050b13;
	border: 1px solid #24445a;
	border-radius: 8px;
	color: white;
	font: inherit;
	outline: none;
}

.account-panel input:focus {
	border-color: #66d9ff;
	box-shadow: 0 0 12px rgba(102, 217, 255, 0.12);
}

.password-wrap {
	position: relative;
	width: 100%;
}

.password-wrap input {
	padding-right: 52px;
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 5px;
	background: transparent;
	border: none;
	color: #91a7b9;
	cursor: pointer;
}

.password-toggle:hover {
	color: #66d9ff;
}

.password-toggle svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.account-panel form button,
#signout-button {
	margin-top: 12px;
	padding: 14px;
	background: #66d9ff;
	border: none;
	border-radius: 8px;
	color: #03101a;
	font-weight: 800;
	cursor: pointer;
	transition: 0.2s;
}

.account-panel form button:hover,
#signout-button:hover {
	background: #a3eaff;
	transform: translateY(-2px);
}

.account-panel button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

#auth-message,
#setup-message,
#profile-message {
	min-height: 22px;
	color: #66d9ff;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.member-heading {
	display: flex;
	align-items: center;
	gap: 17px;
	margin: 30px 0;
}

.member-avatar {
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border-radius: 15px;
	background: linear-gradient(145deg, #173d55, #0c1b2b);
	border: 1px solid rgba(102, 217, 255, 0.4);
	color: #8be5ff;
	font-size: 26px;
	font-weight: 800;
}

.member-label {
	color: #66d9ff;
	font-size: 10px;
	letter-spacing: 1.5px;
	font-weight: 800;
}

.member-heading h2 {
	margin: 5px 0;
	font-size: 21px;
	overflow-wrap: anywhere;
}

.member-status {
	color: #8be5ff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
}

.profile-details {
	display: grid;
	gap: 10px;
	margin-bottom: 28px;
}

.profile-detail {
	padding: 15px;
	background: #050b13;
	border: 1px solid #1d3547;
	border-radius: 9px;
}

.profile-detail span {
	display: block;
	margin-bottom: 7px;
	color: #718da1;
	font-size: 10px;
	letter-spacing: 1px;
	font-weight: 800;
}

.profile-detail strong {
	color: #d8effa;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.profile-detail .active-status {
	color: #76e3bd;
}

#signout-button {
	width: 100%;
	margin-top: 22px;
	background: #152535;
	border: 1px solid #31516a;
	color: #b8d9e9;
}

#signout-button:hover {
	background: #20394e;
}

.account-back {
	display: inline-block;
	margin-top: 28px;
	color: #91a7b9;
	font-size: 12px;
}

.account-back:hover {
	color: #66d9ff;
}

#account-section[hidden],
#auth-section[hidden],
#password-setup-section[hidden] {
	display: none !important;
}

@media (max-width: 500px) {
	.account-panel {
		padding: 25px;
	}

	.account-panel h1 {
		font-size: 32px;
	}
}
