.babylon-idp-page {
	background: linear-gradient(135deg, #eaf6ff 0%, #eef1ff 50%, #f7eefc 100%);
	box-sizing: border-box;
	min-height: calc(100vh - 4rem);
	padding: 2.5rem 1rem;
}

.babylon-idp-container {
	background: #fff;
	border-radius: 1.5rem;
	box-shadow: 0 20px 40px rgba(15, 26, 42, 0.08);
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 46rem;
	padding: 2.5rem;
}

.babylon-idp-header {
	margin-bottom: 1.5rem;
}

.babylon-idp-logo {
	align-items: center;
	border: 2px solid transparent;
	border-radius: 50%;
	color: #3751ff;
	display: flex;
	font-size: 1.25rem;
	font-weight: 700;
	height: 3rem;
	justify-content: center;
	margin-bottom: 1rem;
	object-fit: contain;
	padding: 0px;
	width: 3rem;
}

.babylon-idp-title {
	color: #0f1a2a;
	font-size: 1.375rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.babylon-idp-subtitle {
	color: #64748b;
	font-size: 0.875rem;
	margin: 0;
}

.babylon-idp-card-list {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 1.5rem 0;
}

.babylon-idp-card-input {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.babylon-idp-card {
	align-items: center;
	border: 2px solid #f0f1f7;
	border-radius: 0.5rem;
	cursor: pointer;
	display: flex;
	gap: 0.5rem;
	padding: 2.875rem 1.125rem;
	position: relative;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.babylon-idp-card:hover {
	border-color: #94a3b8;
}

.babylon-idp-card-radio {
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	height: 1rem;
	position: absolute;
	width: 1rem;
	top: 10px;
	left: 16px;
}

.babylon-idp-card-input:checked + .babylon-idp-card {
	background-color: #ebeeff;
	border-color: #3751ff;
}

.babylon-idp-card-input:checked + .babylon-idp-card .babylon-idp-card-radio {
	border-color: #3751ff;
}

.babylon-idp-card-input:checked + .babylon-idp-card .babylon-idp-card-radio::after {
	background-color: #3751ff;
	border-radius: 50%;
	content: "";
	height: 0.5rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0.5rem;
}

.babylon-idp-card-input:focus-visible + .babylon-idp-card,
.babylon-idp-card-input:focus + .babylon-idp-card {
	box-shadow: 0 0 0 3px rgba(55, 81, 255, 0.25);
}

.babylon-idp-card-content {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 2rem;
	width: 100%;
}

.babylon-idp-card-name {
	color: #111827;
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
}

.babylon-idp-card-logo {
	max-height: 2rem;
	max-width: 100%;
	object-fit: contain;
}

.babylon-idp-help-link {
	align-items: center;
	color: #3751ff;
	display: inline-flex;
	font-size: 0.875rem;
	gap: 0.375rem;
	text-decoration: none;
}

.babylon-idp-footer {
	align-items: center;
	border-top: 1px solid #f0f1f7;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.babylon-idp-back-button {
	align-items: center;
	background: #fff;
	border: 1px solid #f0f1f7;
	border-radius: 2rem;
	color: #3751ff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 600;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	text-decoration: none;
}

.babylon-idp-continue-button {
	background: #cbd5e1;
	border: 0;
	border-radius: 2rem;
	color: #fff;
	cursor: not-allowed;
	font-weight: 600;
	padding: 0.625rem 1.5rem;
}

.babylon-idp-continue-button.babylon-idp-continue-button--enabled {
	background: #3751ff;
	cursor: pointer;
}

.babylon-idp-security-row {
	align-items: center;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.75rem;
	justify-content: space-between;
	margin-top: 1rem;
}

.babylon-idp-security-row span {
	align-items: center;
	display: inline-flex;
	gap: 0.375rem;
}

.babylon-idp-icon {
	flex: 0 0 auto;
	height: 1rem;
	width: 1rem;
}

.flex-fill {
	background: linear-gradient(135deg, #eaf6ff 0%, #eef1ff 50%, #f7eefc 100%);
}

.babylon-idp-security-text {
	color: #65A30D;
}
