@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500&display=swap');

.dth-registration-wrapper {
	max-width: 460px;
	margin: 48px auto;
	padding: 0 16px;
	font-family: 'Outfit', sans-serif;
	color: #131117;
}

.dth-registration-form {
	background: #ffffff;
	border: 1px solid #E5E5EA;
	border-radius: 16px;
	padding: 40px;
}

.dth-registration-form h2 {
	font-family: 'Outfit', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 22px;
	line-height: 36px;
	color: #131117;
	margin: 0;
}

.dth-form-subtitle {
	font-family: 'Outfit', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 23px;
	color: #687279;
	margin: 0 0 28px;
}

.dth-form-row {
	margin-bottom: 26px;
}

.dth-form-row-half {
	display: flex;
	gap: 16px;
}

.dth-form-row-half > div {
	flex: 1;
}

.dth-registration-form label {
	display: block;
	font-family: 'Outfit', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 23px;
	color: #687279;
	margin-bottom: 4px;
}

.dth-registration-form input[type="text"],
.dth-registration-form input[type="email"],
.dth-registration-form input[type="number"],
.dth-registration-form input[type="password"],
.dth-registration-form select,
.dth-registration-form textarea {
	width: 100%;
	padding: 10px 0;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #E5E5E5;
	background: transparent;
	border-radius: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	color: #131117;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.dth-registration-form input::placeholder {
	color: #b3b3b3;
}

.dth-registration-form input:focus,
.dth-registration-form select:focus,
.dth-registration-form textarea:focus {
	outline: none;
	border-bottom-color: #fb5858;
}

.dth-registration-form input[type="file"] {
	width: 100%;
	padding: 10px 0;
	font-size: 13px;
}

.dth-field-note {
	font-size: 12px;
	color: #c62828;
	margin: 6px 0 0;
}

.dth-submit-btn {
	width: auto;
	background: #fb5858;
	color: #FFFFFF;
	border: none;
	padding: 8px 14px;
	border-radius: 4px;
	font-family: 'Outfit', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 15px;
	line-height: 23px;
	cursor: pointer;
	transition: opacity 0.12s ease;
	margin-top: 6px;
	display: inline-block;
}

.dth-submit-btn:hover {
	opacity: 0.92;
}

.dth-form-note {
	font-size: 12px;
	color: #9a9a9a;
	margin: 12px 0 0;
}

.dth-alert {
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 20px;
	border-left: 4px solid transparent;
	border-radius: 0 8px 8px 0;
}

.dth-alert-success {
	background: #EFFBF1;
	color: #1E7A34;
	border-left-color: #2e7d32;
}

.dth-alert-error {
	background: #FDEEEE;
	color: #B3261E;
	border-left-color: #c62828;
}

.dth-login-box {
	background: #ffffff;
	border: 1px solid #E5E5EA;
	border-radius: 16px;
	padding: 40px;
	text-align: center;
	font-size: 15px;
}

.dth-checkbox-label {
	display: flex !important;
	align-items: center;
	gap: 9px;
	font-weight: 400 !important;
	font-size: 13.5px !important;
	color: #687279;
	cursor: pointer;
	padding: 9px 12px;
	border-radius: 8px;
	transition: background 0.12s ease;
}

.dth-checkbox-label:hover {
	background: #F7F7F7;
}

.dth-checkbox-label input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: #fb5858;
	cursor: pointer;
	flex-shrink: 0;
}

.dth-btn-link {
	display: inline-block;
	text-decoration: none;
	text-align: center;
	margin-top: 8px;
}

.dth-login-remember {
	margin-bottom: 22px;
}

@media (max-width: 600px) {
	.dth-form-row-half {
		flex-direction: column;
		gap: 0;
	}
	.dth-registration-form,
	.dth-login-box {
		padding: 26px;
		border-radius: 14px;
	}
}
