:root {
	--cc-login-ink: #2a3142;
	--cc-login-muted: #8b93a7;
	--cc-login-label: #4a5568;
	--cc-login-line: #90caf9;
	--cc-login-line-soft: #bbdefb;
	--cc-login-surface: #eef2f7;
	--cc-login-card: #ffffff;
	--cc-login-blue: #1e88e5;
	--cc-login-blue-deep: #1565c0;
	--cc-login-blue-mid: #42a5f5;
	--cc-login-blue-soft: #64b5f6;
	--cc-login-radius: 28px;
	--cc-login-font-display: "Outfit", "Avenir Next", sans-serif;
	--cc-login-font-body: "Plus Jakarta Sans", "Avenir Next", sans-serif;
}

.cc-login-body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: var(--cc-login-font-body);
	color: var(--cc-login-ink);
	background:
		radial-gradient(ellipse 70% 55% at 15% 10%, rgba(30, 136, 229, 0.14), transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 90%, rgba(66, 165, 245, 0.12), transparent 50%),
		linear-gradient(160deg, #e8eef6 0%, #f4f7fb 45%, #e6edf5 100%);
	-webkit-font-smoothing: antialiased;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.cc-login-shell {
	width: 100%;
	max-width: 920px;
}

.cc-login-card {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	min-height: 520px;
	background: var(--cc-login-card);
	border-radius: var(--cc-login-radius);
	overflow: hidden;
	box-shadow:
		0 4px 6px rgba(21, 101, 192, 0.04),
		0 24px 64px rgba(21, 101, 192, 0.14),
		0 0 0 1px rgba(21, 101, 192, 0.06);
	animation: cc-login-card-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* —— Brand pane —— */
.cc-login-brand-pane {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.75rem 2.25rem 2.5rem 2.5rem;
	background: linear-gradient(165deg, #1e88e5 0%, #1976d2 48%, #1565c0 100%);
	color: #fff;
	overflow: hidden;
}

.cc-login-brand-pane::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	animation: cc-login-orb 8s ease-in-out infinite;
}

.cc-login-brand-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 16.5rem;
	margin: 0 auto;
	animation: cc-login-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.cc-login-welcome {
	margin: 0 0 1.35rem;
	font-family: var(--cc-login-font-body);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	opacity: 0.92;
}

.cc-login-logo-wrap {
	margin-bottom: 0.85rem;
}

.cc-login-logo-circle {
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 28px rgba(13, 71, 161, 0.28);
	animation: cc-login-logo-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.cc-login-logo-circle svg {
	width: 1.85rem;
	height: 1.85rem;
	color: var(--cc-login-blue-deep);
}

.cc-login-brand-name {
	margin: 0 0 1.1rem;
	font-family: var(--cc-login-font-display);
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.cc-login-brand-copy {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	opacity: 0.88;
	font-weight: 400;
}

.cc-login-brand-footer {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1.35rem;
	margin: 0;
	text-align: center;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.7;
	z-index: 2;
}

/* Cloud / wave edge along the right of the brand pane */
.cc-login-wave {
	position: absolute;
	top: -1.2rem;
	right: -1.4rem;
	bottom: -1.2rem;
	width: 2.8rem;
	z-index: 3;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}

.cc-login-wave span {
	flex: 0 0 auto;
	width: 2.7rem;
	height: 2.7rem;
	margin: -0.55rem 0;
	border-radius: 50%;
	background: var(--cc-login-card);
}

.cc-login-wave span:nth-child(3n + 1) {
	background: #e3f2fd;
	width: 2.45rem;
	height: 2.45rem;
	margin-right: 0.12rem;
}

.cc-login-wave span:nth-child(3n + 2) {
	background: var(--cc-login-card);
}

.cc-login-wave span:nth-child(3n) {
	background: #90caf9;
	width: 2.25rem;
	height: 2.25rem;
	margin-right: 0.22rem;
}

/* —— Form pane —— */
.cc-login-form-pane {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.75rem 3rem 2.5rem 3.25rem;
	background: var(--cc-login-card);
}

.cc-login-form-card {
	width: 100%;
	max-width: 22rem;
	animation: cc-login-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.cc-login-title {
	margin: 0 0 1.65rem;
	font-family: var(--cc-login-font-display);
	font-size: clamp(1.45rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #333940;
}

.cc-login-subtitle {
	margin: -0.85rem 0 1.35rem;
	color: var(--cc-login-muted);
	font-size: 0.88rem;
	line-height: 1.5;
}

.cc-login-eyebrow-icon {
	display: none;
}

.cc-login-alert {
	margin-bottom: 1rem;
	padding: 0.7rem 0.85rem;
	border-radius: 0.75rem;
	font-size: 0.82rem;
	line-height: 1.4;
	border: 1px solid transparent;
}

.cc-login-alert-danger {
	background: #fff1f1;
	border-color: #f3c6c6;
	color: #9b1c1c;
}

.cc-login-alert-warning {
	background: #fff7e8;
	border-color: #edd5a0;
	color: #7a5208;
}

.cc-login-alert-success {
	background: #eefbf3;
	border-color: #b7e4c7;
	color: #146c2e;
}

.cc-login-field {
	margin-bottom: 1.35rem;
}

.cc-login-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--cc-login-label);
}

.cc-login-label a {
	font-weight: 500;
	color: var(--cc-login-blue);
	text-decoration: none;
	float: right;
	font-size: 0.8rem;
}

.cc-login-label a:hover {
	text-decoration: underline;
}

.cc-login-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 1.5px solid var(--cc-login-line);
	transition: border-color 0.2s ease;
}

.cc-login-input-wrap:focus-within {
	border-color: var(--cc-login-blue-deep);
}

.cc-login-input,
.cc-login-input-wrap .form-control {
	width: 100%;
	height: 2.45rem;
	padding: 0.4rem 2rem 0.5rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--cc-login-ink);
	font-family: var(--cc-login-font-body);
	font-size: 0.92rem;
	box-shadow: none;
}

.cc-login-input::placeholder,
.cc-login-input-wrap .form-control::placeholder {
	color: #b0b7c5;
}

.cc-login-input:focus,
.cc-login-input-wrap .form-control:focus {
	outline: none;
	box-shadow: none;
}

.cc-login-eye,
.cc-login-input-wrap .input-group-text {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	border: 0;
	background: transparent;
	color: var(--cc-login-blue-mid);
	cursor: pointer;
	line-height: 0;
}

.cc-login-eye:hover,
.cc-login-input-wrap .input-group-text a:hover {
	color: var(--cc-login-blue-deep);
}

.cc-login-input-wrap .input-group-text a {
	color: inherit;
}

.cc-login-agree {
	margin: -0.35rem 0 1.5rem;
	font-size: 0.82rem;
}

.cc-login-agree a {
	color: var(--cc-login-blue);
	font-weight: 600;
	text-decoration: none;
}

.cc-login-agree a:hover {
	text-decoration: underline;
}

.cc-login-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.cc-login-btn,
.cc-login-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8.5rem;
	height: 2.65rem;
	padding: 0 1.6rem;
	border-radius: 999px;
	font-family: var(--cc-login-font-display);
	font-weight: 650;
	font-size: 0.9rem;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.cc-login-btn-primary,
.cc-login-submit {
	border: 0;
	background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 55%, #1565c0 100%);
	color: #fff;
	box-shadow: 0 8px 22px rgba(21, 101, 192, 0.32);
}

.cc-login-btn-primary:hover,
.cc-login-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(21, 101, 192, 0.4);
	color: #fff;
}

.cc-login-btn-primary:active,
.cc-login-submit:active {
	transform: translateY(0);
}

.cc-login-btn-secondary {
	border: 1.5px solid #cfd5e0;
	background: #fff;
	color: #9aa3b5;
	box-shadow: none;
}

.cc-login-btn-secondary:hover {
	border-color: #aeb6c6;
	color: #6b7385;
	transform: translateY(-1px);
}

.cc-login-secondary-row {
	margin-top: 1.25rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--cc-login-muted);
}

.cc-login-secondary-row a {
	color: var(--cc-login-blue);
	font-weight: 600;
	text-decoration: none;
}

.cc-login-secondary-row a:hover {
	text-decoration: underline;
}

.cc-login-legal {
	margin: 1.75rem 0 0;
	text-align: left;
	font-size: 0.72rem;
	color: #a0a8b8;
}

.cc-login-legal a {
	color: inherit;
	text-decoration: none;
}

.cc-login-legal a:hover {
	color: var(--cc-login-ink);
}

@keyframes cc-login-card-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cc-login-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cc-login-logo-pop {
	from {
		opacity: 0;
		transform: scale(0.65);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes cc-login-orb {
	0%,
	100% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(-18px, 22px);
	}
}

@media (max-width: 791.98px) {
	.cc-login-body {
		padding: 1rem;
		align-items: flex-start;
		padding-top: 1.5rem;
	}

	.cc-login-card {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 22px;
	}

	.cc-login-brand-pane {
		padding: 2rem 1.5rem 2.25rem;
		min-height: 0;
	}

	.cc-login-brand-footer {
		position: static;
		margin-top: 1.5rem;
	}

	.cc-login-wave {
		display: none;
	}

	.cc-login-brand-copy {
		display: none;
	}

	.cc-login-logo-circle {
		width: 3.75rem;
		height: 3.75rem;
	}

	.cc-login-brand-name {
		font-size: 1.55rem;
		margin-bottom: 0;
	}

	.cc-login-welcome {
		margin-bottom: 1rem;
	}

	.cc-login-form-pane {
		padding: 2rem 1.5rem 2rem;
	}

	.cc-login-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cc-login-btn,
	.cc-login-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-login-card,
	.cc-login-brand-inner,
	.cc-login-form-card,
	.cc-login-logo-circle,
	.cc-login-brand-pane::before {
		animation: none !important;
	}
}
