/**
 * Raft registration form — critical layout + team cards (loaded as real file so caching/minify plugins keep it).
 * Namespace: .raft-reg-wrapper, avoid class substrings that match theme [class*="col-"].
 */
.raft-reg-wrapper .raft-row {
	display: flex !important;
	flex-wrap: wrap !important;
	--rr-gx: 12px;
	margin-left: calc(var(--rr-gx) * -1) !important;
	margin-right: calc(var(--rr-gx) * -1) !important;
	box-sizing: border-box !important;
}
.raft-reg-wrapper .raft-row > [class*="raft-cell-"] {
	padding-left: var(--rr-gx) !important;
	padding-right: var(--rr-gx) !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	float: none !important;
}
.raft-reg-wrapper .raft-cell-md-4,
.raft-reg-wrapper .raft-cell-md-6,
.raft-reg-wrapper .raft-cell-md-12,
.raft-reg-wrapper .raft-cell-sm-6 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}
@media (min-width: 576px) {
	.raft-reg-wrapper .raft-cell-sm-6 {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}
@media (min-width: 768px) {
	.raft-reg-wrapper .raft-cell-md-12 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	.raft-reg-wrapper .raft-cell-md-6 {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
	.raft-reg-wrapper .raft-cell-md-4 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
}

body #raft-reg-root #team-members-container.raft-team-members-stack,
body #raft-reg-root.raft-reg-wrapper .raft-team-members-stack,
.raft-reg-wrapper .raft-team-members-stack {
	display: flex !important;
	flex-direction: column !important;
	gap: 1.5rem !important;
	margin-bottom: 0.25rem !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	min-height: 2rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body #raft-reg-root.raft-reg-wrapper .raft-team-member-card,
.raft-reg-wrapper .raft-team-member-card {
	background: #fff !important;
	border: 1px solid #cbd5e1 !important;
	border-left: 4px solid #2563eb !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
	display: block !important;
}

body #raft-reg-root.raft-reg-wrapper .raft-team-member-card__header,
.raft-reg-wrapper .raft-team-member-card__header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1rem !important;
	flex-wrap: wrap !important;
	padding: 0.85rem 1.25rem !important;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%) !important;
	border-bottom: 1px solid #bfdbfe !important;
}

.raft-reg-wrapper .raft-team-member-card__title {
	margin: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #1e3a5f !important;
	letter-spacing: -0.02em !important;
	line-height: 1.35 !important;
}

.raft-reg-wrapper .raft-team-member-card__remove {
	flex-shrink: 0 !important;
	white-space: nowrap !important;
}

body #raft-reg-root.raft-reg-wrapper .raft-team-member-card__body,
.raft-reg-wrapper .raft-team-member-card__body {
	padding: 1.15rem 1.25rem 1.3rem !important;
	background: #f8fafc !important;
}

.raft-reg-wrapper .raft-team-member-card__body .raft-row {
	margin-bottom: 0 !important;
}
.raft-reg-wrapper .raft-team-member-card__body .raft-row + .raft-row {
	margin-top: 0.25rem !important;
}
.raft-reg-wrapper .raft-team-member-card__body .raft-cell.mb-2 {
	margin-bottom: 0.55rem !important;
}
.raft-reg-wrapper .raft-team-member-card__body .form-label {
	margin-bottom: 0.35rem !important;
	font-size: 0.9rem !important;
}
.raft-reg-wrapper .raft-team-member-card__body .form-control,
.raft-reg-wrapper .raft-team-member-card__body .form-select {
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}
