/* Login + signup pages */
.auth {
	max-width: 360px;
	margin: 1.5rem auto 4rem;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.auth-form input {
	padding: 0.75rem;
	font-size: 1rem;
	border: 2px solid lightgray;
}

.auth-form button {
	height: 3rem;
	max-width: 200px;
	margin: auto;
	padding: 0 1rem;
	font-size: 1rem;
	font-weight: bold;
	color: #EFF0C7;
	background-color: #8499B4;
	border: 3px solid #000;
	box-shadow: 5px 5px #000;
	cursor: pointer;
}

.auth-flash {
	color: #8B1A1A;
}

/* Profile page */
.auth-form label {
	font-weight: bold;
	text-align: left;
}

.profile-picture {
	display: flex;
	justify-content: center;
}

.link-button {
	background: none;
	border: none;
	color: #8B1A1A;
	text-decoration: underline;
	cursor: pointer;
	font-size: 0.9rem;
}

.auth-note { color: #555; margin-bottom: 0.5rem; }
.auth-forgot { font-size: 0.9rem; }

/* Delete account (profile page) */
.danger-zone {
	width: min(100%, 400px);
	margin-top: 2rem;
	padding: 0.75rem 1rem;
	text-align: left;
	border: 2px dashed #C0392B;
}

.danger-zone summary { color: #C0392B; font-weight: bold; cursor: pointer; }
.danger-zone p { margin: 0.75rem 0; font-size: 0.9rem; }
.auth-form .danger-button { max-width: none; height: auto; padding: 0.7rem 1rem; background: #C0392B; color: white; }

.auth-form textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	font: inherit;
	resize: vertical;
	border: 2px solid lightgray;
}
.bio-count { align-self: flex-end; font-size: 0.8rem; color: gray; }
.auth-form #bio-input { min-height: 9rem; line-height: 1.45; }
.bio-count.over { color: #C0392B; font-weight: bold; }

/* Location picker */
.region-form select {
	width: 100%;
	padding: 0.65rem 0.6rem;
	font: inherit;
	font-size: 1rem;
	background: white;
	border: 2px solid lightgray;
}
.region-now { font-size: 0.9rem; color: #333; text-align: left; }

/* Signup agreement */
.auth-agree { display: flex; gap: 0.5rem; align-items: flex-start; text-align: left; font-size: 0.9rem; line-height: 1.4; }
.auth-agree input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.auth-agree a { font-weight: 700; }
