/**
 * SCC Identity Portal — standalone login page styling. Navy #0d1f3a, gold #c8a24a.
 */
* { box-sizing: border-box; }
.scc-portal-body {
	margin: 0;
	min-height: 100vh;
	background: #eef1f6;
	color: #1f2937;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 48px 16px;
}
.scc-portal-wrap { width: 100%; max-width: 440px; }

/* Head */
.scc-portal-head { text-align: center; margin-bottom: 22px; }
.scc-portal-logo {
	width: 76px; height: 76px; margin: 0 auto 16px;
	background: #0d1f3a; color: #c8a24a;
	border-radius: 18px;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 24px; letter-spacing: .05em;
}
.scc-portal-name { font-size: 30px; font-weight: 800; color: #0d1f3a; margin: 0 0 4px; }
.scc-portal-sub { color: #6b7280; margin: 0 0 12px; }
.scc-portal-avail {
	display: inline-flex; align-items: center; gap: 7px;
	background: #e7f6ec; color: #1f7d4d;
	font-weight: 700; font-size: 13px;
	padding: 5px 14px; border-radius: 999px;
}
.scc-portal-avail .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f7d4d; }

/* Card */
.scc-portal-card {
	background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 18px 50px rgba(13, 31, 58, .12);
}
.scc-portal-steps {
	display: flex; gap: 16px; align-items: center;
	background: #0d1f3a; color: rgba(255,255,255,.55);
	padding: 16px 22px; font-size: 14px; font-weight: 600;
}
.scc-step { display: inline-flex; align-items: center; gap: 8px; }
.scc-step b {
	width: 22px; height: 22px; border-radius: 50%;
	background: rgba(255,255,255,.18); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.scc-step.is-active { color: #fff; }
.scc-step.is-active b { background: #c8a24a; color: #0d1f3a; }
.scc-step.is-done b { background: #2f7d4f; color: #fff; }

.scc-portal-pad { padding: 24px 26px 22px; }

/* Role toggle */
.scc-role-toggle { display: flex; gap: 8px; margin-bottom: 20px; }
.scc-role {
	flex: 1; appearance: none; cursor: pointer;
	border: 1px solid #e3e7ef; background: #fff; color: #475467;
	font-weight: 700; font-size: 15px; padding: 14px 10px; border-radius: 10px;
}
.scc-role.is-active { background: #0d1f3a; color: #fff; border-color: #0d1f3a; }

/* Form */
.scc-lbl { display: block; font-weight: 700; color: #1f2937; margin: 14px 0 7px; font-size: 14px; }
.scc-portal-form input[type=text],
.scc-portal-form input[type=password],
.scc-pane-2 input {
	width: 100%; border: 1px solid #d0d5dd; border-radius: 10px;
	padding: 13px 14px; font-size: 15px; font-family: inherit;
}
.scc-pwd-wrap { position: relative; }
.scc-pwd-wrap input { padding-right: 44px; }
.scc-pwd-eye {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	border: 0; background: transparent; cursor: pointer; font-size: 16px; padding: 6px;
}
#scc-code { letter-spacing: .35em; text-align: center; font-size: 18px; }

.scc-btn {
	width: 100%; margin-top: 18px; cursor: pointer;
	background: #0d1f3a; color: #fff; border: 0; border-radius: 10px;
	padding: 15px; font-size: 16px; font-weight: 700;
}
.scc-btn:hover { background: #16305c; }
.scc-btn:disabled { opacity: .6; cursor: default; }

/* Info / integrity boxes */
.scc-info { background: #eef4ff; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.scc-info strong { color: #0d1f3a; display: block; margin-bottom: 4px; }
.scc-info-text { margin: 0; color: #475467; font-size: 14px; line-height: 1.5; }
.scc-method-switch { margin: 10px 0 0; font-size: 13px; }
.scc-method-switch a { color: #0d1f3a; font-weight: 600; }
.scc-integrity { background: #fbf6e9; border-radius: 12px; padding: 13px 16px; margin: 18px 0 0; }
.scc-integrity strong { color: #8a6d1f; display: block; margin-bottom: 3px; }
.scc-integrity p { margin: 0; color: #6b5a2a; font-size: 13px; line-height: 1.5; }

/* Messages */
.scc-msg { margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.scc-msg.err { color: #b42318; }
.scc-msg.ok { color: #1f7d4d; }

/* Panes */
.scc-pane { display: none; }
.scc-pane.is-active { display: block; }

/* Step 3 */
.scc-pane-3 { text-align: center; padding: 14px 0 8px; }
.scc-check {
	width: 70px; height: 70px; margin: 6px auto 16px;
	border-radius: 50%; background: #e7f6ec; color: #1f7d4d;
	display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.scc-done-title { color: #0d1f3a; margin: 0 0 8px; font-size: 22px; }
.scc-done-text { color: #6b7280; margin: 0; }

/* Footer */
.scc-portal-foot { border-top: 1px solid #eef1f6; padding: 16px 26px 20px; text-align: center; }
.scc-retain { color: #6b7280; font-size: 13px; margin: 0 0 8px; line-height: 1.5; }
.scc-pending { color: #0d1f3a; font-weight: 700; font-size: 14px; margin: 0; }
.scc-portal-note { text-align: center; color: #9aa3b2; font-size: 12px; margin: 18px 0 0; }
.scc-portal-note a { color: #6b7280; }

@media (max-width: 480px) {
	.scc-portal-steps { gap: 10px; font-size: 12px; padding: 14px; }
	.scc-portal-name { font-size: 24px; }
}
