/*
 * Shared "Sign in with Discord" card.
 * Used by BOTH the tutor form (not signed in) and the directory (not signed in),
 * so the two match. It mirrors the site's existing card components (.mc-card,
 * .mc-label, .mc-h2, .mc-goldline, .mc-lead, .mc-btn-discord) so it stays on brand.
 * Uses the tokens defined on the .mc-tutor and .mc-dir wrappers.
 */

.mc-signin {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--mc-border);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 30, 56, .06);
	padding: 40px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.mc-signin:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(15, 30, 56, .10);
}

/* Navy circle + gold icon: the brand's core pairing. */
.mc-signin-badge {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mc-navy);
	color: var(--mc-gold);
	font-size: 25px;
	margin-bottom: 22px;
}

/* = .mc-label */
.mc-signin-eyebrow {
	display: block;
	font-family: "Urbanist", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	color: var(--mc-blue);
	margin-bottom: 8px;
}
/* = .mc-h2 */
.mc-signin-title {
	font-family: "Urbanist", sans-serif;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--mc-navy);
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 14px;
}
/* = .mc-goldline */
.mc-signin-line {
	display: block;
	width: 60px;
	height: 3px;
	border-radius: 2px;
	background: var(--mc-gold);
	margin-bottom: 20px;
}
/* = .mc-lead */
.mc-signin-lead {
	font-size: 17px;
	line-height: 1.6;
	color: var(--mc-muted);
	margin: 0 0 24px;
	max-width: 46ch;
}

/* = .mc-btn + .mc-btn-gold: the site's gold CTA (matches the "Join Discord" button). */
.mc-signin-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-family: "Urbanist", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 15px;
	padding: 15px 30px;
	text-decoration: none;
	background: var(--mc-gold);
	color: #000;
	box-shadow: 0 6px 18px rgba(255, 215, 0, .35);
	transition: transform .15s ease, background .15s ease;
}
.mc-signin-btn:hover {
	transform: translateY(-2px);
	background: var(--mc-gold-hover);
	color: #000;
}
.mc-signin-btn i { font-size: 18px; }

.mc-signin-note {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--mc-muted);
}

@media (max-width: 560px) {
	.mc-signin { padding: 28px 22px; border-radius: 14px; }
	.mc-signin-title { font-size: 24px; }
}

/*
 * Faint decorative math symbols behind a page header (the site's brand pattern).
 * Shared: this stylesheet loads on both the form and the directory. The parent
 * holding the symbols must be position:relative and lift its real children above.
 */
.mc-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mc-decor span {
	position: absolute;
	font-family: "Urbanist", serif;
	color: var(--mc-navy);
	opacity: .05;
	font-weight: 800;
	line-height: 1;
}
.mc-decor span:nth-child(1) { top: 0; left: 4%; font-size: 56px; }
.mc-decor span:nth-child(2) { top: 10px; right: 8%; font-size: 76px; }
.mc-decor span:nth-child(3) { top: 2px; left: 46%; font-size: 48px; }
.mc-decor span:nth-child(4) { bottom: 0; right: 32%; font-size: 44px; }
.mc-decor span:nth-child(5) { top: 24px; left: 24%; font-size: 44px; }
