.crbc-widget {
	max-width: 1100px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Tabs */
.crbc-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.crbc-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	border: 2px solid #14123f;
	background: #fff;
	color: #14123f;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.crbc-tab-active,
.crbc-tab:hover {
	background: #14123f;
	color: #fff;
}

.crbc-tab-icon {
	font-size: 16px;
}

/* Form layout */
.crbc-form {
	background: transparent;
}

.crbc-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
	position: relative;
}

.crbc-field {
	flex: 1 1 200px;
	background: #f1edfb;
	border-radius: 12px;
	padding: 14px 18px;
	position: relative;
	min-width: 180px;
}

.crbc-field label {
	display: block;
	font-size: 13px;
	color: #55506b;
	margin-bottom: 6px;
}

.crbc-field input {
	width: 100%;
	border: none;
	background: transparent;
	font-size: 16px;
	font-weight: 600;
	color: #2a2745;
	outline: none;
	padding: 0;
}

.crbc-field input::placeholder {
	color: #9a95b3;
	font-weight: 400;
	font-size: 13px;
}

.crbc-field input[type="date"] {
	font-weight: 700;
}

.crbc-field-phone {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.crbc-phone-icon {
	font-size: 18px;
	opacity: 0.75;
	margin-left: 8px;
}

/* Swap button */
.crbc-swap {
	flex: 0 0 auto;
	align-self: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #ddd6f5;
	background: #fff;
	color: #14123f;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(20, 18, 63, 0.08);
	transition: transform 0.15s ease;
}

.crbc-swap:hover {
	transform: rotate(180deg);
}

/* Submit */
.crbc-submit-row {
	display: flex;
	justify-content: center;
	margin-top: 26px;
}

.crbc-submit {
	background: #14123f;
	color: #fff;
	border: none;
	padding: 16px 40px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.crbc-submit:hover {
	background: #262163;
}

.crbc-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Message */
.crbc-message {
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
	min-height: 20px;
}

.crbc-message.crbc-success {
	color: #1a7f37;
}

.crbc-message.crbc-error {
	color: #c0392b;
}

/* Responsive */
@media (max-width: 782px) {
	.crbc-row {
		flex-direction: column;
	}

	.crbc-swap {
		align-self: flex-start;
		margin-left: 0;
	}
}
