/* this is css file for elements content, only Haocheng use this file */

.h_title {
	font-weight: 600;
	font-size: 18px;
	color: #1a1625;
	font-family: "Poppins", sans-serif;
}
.h_sub_title {
	font-weight: 500;
	font-size: 14px;
	color: #4a4a6a;
}

/* Primary button */
.h_btn-primary {
	background-color: #3b118d;
	color: white;
}

.h_btn-primary:hover {
	background-color: #7b66c4;
	transform: translateY(-1px);
}

/* Secondary button */
.h_btn-secondary {
	background-color: #8d1179;
	color: white;
}

.h_btn-secondary:hover {
	background-color: #c17baf;
	transform: translateY(-1px);
}

/* Outline button */
.h_btn-outline {
	background-color: #f7f2fa;
	color: #1a1625;
	border: 1px solid #3b118d;
}

.h_btn-outline:hover {
	background-color: #3b118d;
	color: white;
	transform: translateY(-1px);
}
/* Ghost button */
.h_btn-ghost {
	background-color: transparent;
	color: #1a1625;
	border: none;
}

.h_btn-ghost:hover {
	background-color: #f3f1fa;
	color: #725fa8;
	transform: translateY(-1px);
}

/* Destructive button */
.h_btn-destructive {
	background-color: #e35858;
	color: white;
}

.h_btn-destructive:hover {
	background-color: #d73f3f;
	transform: translateY(-1px);
}

/* Link button */
.h_btn-link {
	background-color: transparent;
	color: #3b118d;
	border: none;

	padding: 8px 12px;
}

.h_btn-link:hover {
	color: #7b66c4;
	text-decoration: none;
	background-color: transparent;
	transform: none;
	text-decoration: underline;
}

.h_btn-link:focus {
	outline: 2px solid #3b118d;
	outline-offset: 2px;
}

.h_show-more {
	width: 200px;
	text-align: left;
}

.h_btn_sm {
	padding: 8px 16px;
}
.h_btn_lg {
	padding: 12px 24px;
}

/* inputs */

#defaultInput,
#disabledInput,
#textArea {
	width: 50%;
}

/* checkboxes */
input[type="checkbox"] {
	padding: 2px;
}

.h_checkbox {
	width: 18px !important;
	height: 18px !important;
	border: 1px solid #d9d9e0 !important;
	border-radius: 3px !important;
	background-color: white !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	background-image: none !important;
}

.h_checkbox:hover {
	border-color: #725fa8 !important;
}

.h_checkbox:checked {
	background-color: #3b118d !important;
	border-color: #3b118d !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.h_checkbox:focus {
	box-shadow: 0 0 0 0.25rem rgba(59, 17, 141, 0.25) !important;
}

.h_checkbox:disabled {
	background-color: #f3f1fa !important;
	border-color: #bdb7ce !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
}

.h_checkbox:disabled:checked {
	background-color: #bdb7ce !important;
	border-color: #bdb7ce !important;
}

.form-check-label {
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	color: #1a1625 !important;
	cursor: pointer !important;
}

.text-disabled {
	color: #bdb7ce !important;
}

/* radio */
input[type="radio"] {
	padding: 2px;
	border: 1px solid #d9d9e0;
}

.h_radio {
	width: 10px !important;
	height: 10px !important;
	border: 1px solid #d9d9e0 !important;
	border-radius: 50% !important;
	background-color: white !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	background-image: none !important;
	appearance: none !important;
}

.h_radio:checked {
	background-color: #3b118d !important;
	border-color: #3b118d !important;
}

.h_code_review {
	width: 100%;
	display: block;
	overflow: auto;
	max-height: 400px;
}

/* switch */
.h_switch {
	width: 48px !important;
	height: 24px !important;
	border-radius: 12px !important;
	background-color: #d9d9e0 !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	background-image: none !important;
	position: relative !important;
}

.h_switch:checked {
	background-color: #3b118d !important;
}

.h_switch:focus {
	box-shadow: 0 0 0 0.25rem rgba(59, 17, 141, 0.25) !important;
}

.h_switch::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: white;
	top: 2px;
	left: 2px;
	transition: transform 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.h_switch:checked::before {
	transform: translateX(24px);
}

.h_outline_badge {
	color: #1a1625;
	border: 1px solid #d9d9e0;
}
