.tcrb-form-wrap,
.tcrb-form-wrap * {
	box-sizing: border-box;
}

.tcrb-form-wrap {
	max-width: 540px;
	width: 100%;
	margin: 40px auto;
	background: #ffffff;
	border: 1px solid #e0e2ea;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	padding: 36px 32px;
}

.tcrb-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.tcrb-grid-row {
	display: grid;
	gap: 16px;
	width: 100%;
}
.tcrb-grid-row.tcrb-cols-1 {
	grid-template-columns: 1fr;
}
.tcrb-grid-row.tcrb-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 600px) {
	.tcrb-form-wrap {
		padding: 24px 18px;
		margin: 20px auto;
	}
	.tcrb-grid-row.tcrb-cols-2 {
		grid-template-columns: 1fr;
	}
}

.tcrb-field-item {
	margin: 0 !important;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.tcrb-form-wrap .tutor-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #212327;
	margin-bottom: 8px;
	line-height: 1.4;
}

.tcrb-form-wrap .tutor-label-required::after {
	content: " *";
	color: #f44337;
	font-weight: 600;
}

.tcrb-form-wrap .tutor-input-wrapper {
	position: relative;
	width: 100%;
	display: block;
}

.tcrb-form-wrap .tutor-input,
.tcrb-form-wrap input[type="text"].tutor-input,
.tcrb-form-wrap input[type="email"].tutor-input,
.tcrb-form-wrap input[type="tel"].tutor-input,
.tcrb-form-wrap input[type="number"].tutor-input,
.tcrb-form-wrap input[type="password"].tutor-input,
.tcrb-form-wrap select.tutor-input,
.tcrb-form-wrap textarea.tutor-input {
	display: block;
	width: 100%;
	height: 44px;
	padding: 10px 14px;
	font-size: 15px;
	line-height: 1.4;
	color: #212327;
	background-color: #ffffff;
	border: 1px solid #cdcfd5;
	border-radius: 6px;
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: auto;
}

.tcrb-form-wrap textarea.tutor-input {
	height: auto;
	min-height: 92px;
	resize: vertical;
}

.tcrb-form-wrap .tutor-input::placeholder {
	color: #8c919b;
	opacity: 1;
}

.tcrb-form-wrap .tutor-input:focus {
	border-color: var(--tutor-color-primary, #3e64de);
	box-shadow: 0 0 0 3px rgba(62, 100, 222, 0.14);
}

.tcrb-form-wrap .tutor-input-content-right {
	padding-right: 42px !important;
}

.tcrb-form-wrap .tutor-input-content.tutor-input-content-right {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	padding-right: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
}

.tcrb-form-wrap .tcrb-pw-toggle {
	background: transparent !important;
	border: none !important;
	padding: 4px !important;
	margin: 0 !important;
	color: #757c8e !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	line-height: 1;
}

.tcrb-form-wrap .tcrb-pw-toggle:hover {
	color: #212327 !important;
}

.tcrb-phone-group {
	display: flex;
	gap: 8px;
	width: 100%;
	align-items: stretch;
}
.tcrb-country-select {
	flex: 0 0 142px;
	max-width: 142px;
	padding-left: 10px !important;
	padding-right: 24px !important;
	cursor: pointer;
}
.tcrb-phone-input {
	flex: 1 1 auto;
	min-width: 0;
}
.tcrb-field-hint {
	display: block;
	font-size: 12px;
	margin-top: 4px;
	min-height: 16px;
}
.tcrb-field-hint.is-error {
	color: #d63638;
}
.tcrb-field-hint.is-valid {
	color: #007017;
}
.tcrb-input-invalid {
	border-color: #d63638 !important;
}
.tcrb-input-valid {
	border-color: #007017 !important;
}

.tcrb-submit-wrap {
	margin-top: 4px;
}

.tcrb-form-wrap .tutor-btn-primary.tutor-btn-block {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	background-color: var(--tutor-color-primary, #3e64de);
	border: 1px solid var(--tutor-color-primary, #3e64de);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.tcrb-form-wrap .tutor-btn-primary.tutor-btn-block:hover {
	opacity: 0.92;
}

.tcrb-login-prompt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 18px;
	font-size: 14px;
	color: #5b616e;
}

.tcrb-login-prompt .tutor-btn-link {
	color: var(--tutor-color-primary, #3e64de);
	font-weight: 600;
	text-decoration: none;
	padding: 0;
	background: transparent;
	border: none;
}

.tcrb-login-prompt .tutor-btn-link:hover {
	text-decoration: underline;
}

.tcrb-social-wrap {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid #e0e2ea;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.tcrb-social-wrap .xs_social_login_widget,
.tcrb-social-wrap .wslu-social-login-wrapper,
.tcrb-social-wrap ul {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100%;
}

.tcrb-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}
.tcrb-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
}
.tcrb-req-star {
	color: #d63638;
}
.tcrb-alert-box {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	color: #8a1f11;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 20px;
}
.tcrb-alert-box ul {
	margin: 0;
	padding-left: 18px;
}
