.auth-page {
	min-height: calc(100vh - 100px);
	display: grid;
	place-items: center;
	padding: 2.25rem 1rem 3rem;
}

.auth-card,
.profile-card {
	width: min(100%, 540px);
	padding: 2rem;
	border: 1px solid var(--forge-line-soft);
	border-radius: 1rem;
	background: rgba(31, 26, 20, 0.9);
	box-shadow: var(--forge-shadow);
	backdrop-filter: blur(8px);
}

.profile-card {
	width: min(100%, 760px);
}

.auth-card h2,
.profile-card h2 {
	margin-bottom: 1.5rem;
	color: #f6c27d;
	font-weight: 700;
}

.auth-card form,
.profile-card form {
	display: block;
}

.auth-card form > div,
.profile-card form > div {
	margin-bottom: 1rem;
}

.auth-card label,
.profile-card label {
	font-size: 0.9rem;
	font-weight: 600;
	color: #e4d5bf;
}

.auth-card input,
.auth-card select,
.profile-card input,
.profile-card select {
	width: 100%;
	padding: 0.72rem 0.9rem;
	color: var(--bs-body-color);
	border: 1px solid var(--forge-line-soft);
	border-radius: 0.55rem;
	background: rgba(22, 18, 14, 0.95);
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-card input::placeholder,
.profile-card input::placeholder {
	color: #918272;
}

.auth-card input:focus,
.auth-card select:focus,
.profile-card input:focus,
.profile-card select:focus {
	border-color: rgba(242, 173, 78, 0.5);
	box-shadow: 0 0 0 0.2rem rgba(217, 107, 43, 0.18);
}

.auth-card button,
.profile-card button {
	justify-self: start;
	padding: 0.72rem 1.2rem;
	color: #1a130e;
	font-weight: 700;
	border: 0;
	border-radius: 0.55rem;
	background: var(--accent-gradient);
	box-shadow: 0 8px 20px rgba(217, 107, 43, 0.24);
}

.auth-card button:hover,
.profile-card button:hover {
	filter: brightness(1.05);
}

.auth-card hr,
.profile-card hr {
	margin: 1.5rem 0;
	border-color: var(--forge-line-soft);
}

.auth-card a,
.profile-card a {
	color: #f5b96b;
	text-decoration: none;
}

.auth-card a:hover,
.profile-card a:hover {
	color: #ffd49a;
	text-decoration: underline;
}

.auth-message,
.auth-error {
	padding: 0.85rem 1rem;
	border-radius: 0.6rem;
	border: 1px solid transparent;
}

.auth-message {
	color: #dff7e6;
	border-color: rgba(77, 194, 117, 0.35);
	background: rgba(77, 194, 117, 0.12);
}

.auth-error {
	color: #ffe3e3;
	border-color: rgba(255, 111, 111, 0.3);
	background: rgba(255, 111, 111, 0.12);
}

.auth-helper {
	font-size: 0.9rem;
	color: var(--forge-muted);
}

.profile-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.profile-shell {
    max-width: 860px;
    margin: 0 auto;
	color: var(--bs-body-color);
	border: 1px solid var(--forge-line-soft);
	border-radius: 1rem;
	padding: 1.5rem;
	background: rgba(31, 26, 20, 0.9);
	box-shadow: var(--forge-shadow);
}

.profile-content {
	display: grid;
	gap: 1rem;
}

.profile-section {
	padding: 1rem 1.1rem;
}

.profile-title {
    margin: 0 0 .35rem;
	color: #f6c27d;
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-section-title {
	margin-bottom: 0.75rem;
	color: var(--text-primary);
	font-size: 1.05rem;
	font-weight: 700;
}

.profile-section p {
	margin-bottom: 0.55rem;
	color: #d3c4b2;
}

.profile-section strong {
	color: #fff;
}

.profile-subtitle {
	color: var(--forge-muted);
}


