.education-card {
	border: 0;
	border-radius: 0.4rem;
	overflow: hidden;
}

.education-card .card-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 70px;
}

.education-success {
	align-items: center;
	background: rgba(38, 174, 97, 0.08);
	border: 1px solid rgba(38, 174, 97, 0.18);
	border-radius: 0.4rem;
	color: #2d3135;
	display: none;
	gap: 10px;
	margin-bottom: 1rem;
	padding: 0.8rem 1rem;
}

.education-success i {
	color: #26ae61;
}

.education-summary h5 {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 0.35rem;
}

.education-summary p {
	color: #3f4854;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 0.35rem;
}

.education-summary + .education-summary {
	border-top: 1px solid #e2e8ec;
	margin-top: 1rem;
	padding-top: 1rem;
}

.education-inline-edit {
	background: transparent;
	border: 0;
	color: var(--maincolor);
	font-size: 14px;
	margin-left: 8px;
	padding: 0;
}

.education-inline-delete {
	background: transparent;
	border: 0;
	color: #dc3545;
	font-size: 14px;
	margin-left: 6px;
	padding: 0;
}

.education-inline-delete:hover {
	color: #b02a37;
}

.education-quick-links {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 2rem;
}

.education-quick-links button {
	background: transparent;
	border: 0;
	color: #2f5fff;
	font-size: 15px;
	font-weight: 600;
	padding: 0;
	text-align: left;
	width: max-content;
}

.education-modal {
	z-index: 10050;
}

.education-modal.show {
	display: block;
	overflow-x: hidden;
	overflow-y: auto;
}

.education-modal .modal-dialog {
	margin: 30px auto;
	max-width: 730px;
	width: calc(100% - 48px);
}

.education-modal .modal-content {
	background: #fff;
	border: 0;
	border-radius: 0.75rem;
	box-shadow: 0 12px 32px rgba(0, 22, 46, 0.14);
	padding: 0;
}

.education-modal-header {
	border-bottom: 1px solid #e2e8ec;
	padding: 1.25rem 1.5rem;
}

.education-modal-header h3 {
	color: #2d3135;
	font-size: 20px;
	font-weight: 600;
}

.education-modal-header p {
	color: #6b7898;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

.education-modal-body {
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	padding: 1.5rem;
}

.education-error-summary {
	background: rgba(224, 49, 49, 0.08);
	border: 1px solid rgba(224, 49, 49, 0.22);
	border-radius: 0.4rem;
	color: #c92a2a;
	display: none;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
}

.education-close {
	background: transparent;
	border: 0;
	color: #64748b;
	font-size: 26px;
	line-height: 1;
	padding: 0;
}

.education-field {
	margin-bottom: 1.45rem;
}

.education-field label {
	color: #2d3135;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.education-field label span {
	color: #e03131;
}

.education-field .form-control {
	border: 1px solid #e2e8ec;
	border-radius: 0.65rem;
	color: #2d3135;
	font-size: 14px;
	min-height: 50px;
	padding-left: 14px;
	padding-right: 14px;
}

.education-field .form-control:focus {
	border-color: var(--maincolor);
	box-shadow: 0 0 0 0.2rem rgba(0, 128, 96, 0.08);
}

.education-field.has-error .form-control {
	border-color: #e03131;
}

.education-error-text {
	color: #c92a2a;
	font-size: 12px;
	margin-top: 6px;
}

.education-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 42px;
}

.education-radio-row label {
	align-items: center;
	color: #3f4854;
	display: inline-flex;
	font-size: 13px;
	font-weight: 500;
	gap: 8px;
	margin: 0;
}

.education-duration-row {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto 1fr;
}

.education-actions {
	align-items: center;
	border-top: 1px solid #e2e8ec;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	padding-bottom: 0.5rem;
}

.education-actions .btn {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	height: 46px;
	justify-content: center;
	line-height: 1;
	min-height: 46px;
	padding-bottom: 0;
	padding-top: 0;
}

.education-actions .btn-main {
	min-width: 82px;
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.education-primary-master {
	align-items: center;
	color: #2d3135;
	display: inline-flex;
	font-size: 13px;
	font-weight: 500;
	gap: 8px;
	margin-bottom: 1.25rem;
}

.education-primary-master input {
	accent-color: #202232;
	height: 18px;
	width: 18px;
}

.education-modal .nice-select {
	float: none;
	height: 48px;
	line-height: 48px;
	width: 100%;
}

.education-modal .education-select-locked,
.education-modal .education-select-locked + .nice-select,
.education-modal .nice-select.disabled {
	background-color: #f6f8fb;
	cursor: not-allowed;
	pointer-events: none;
}

.education-modal .nice-select .list {
	max-height: 260px;
	overflow-y: auto;
	width: 100%;
}

.education-autocomplete {
	position: relative;
}

.education-autocomplete-list {
	background: #fff;
	border: 1px solid #e2e8ec;
	border-radius: 0.65rem;
	box-shadow: 0 10px 24px rgba(0, 22, 46, 0.12);
	display: none;
	left: 0;
	max-height: 240px;
	overflow-y: auto;
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 1050;
}

.education-autocomplete-list .autocomplete-header {
	background: #f8fafc;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	padding: 6px 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 1px solid #edf2f7;
	border-top: 1px solid #edf2f7;
}

.education-autocomplete-list .autocomplete-header:first-child {
	border-top: 0;
}

.education-autocomplete-list button {
	background: transparent;
	border: 0;
	color: #2d3135;
	display: block;
	font-size: 14px;
	padding: 9px 14px;
	text-align: left;
	width: 100%;
}

.education-autocomplete-list button:hover,
.education-autocomplete-list button:focus {
	background: #f4f6f8;
	color: var(--maincolor, #008060);
	outline: none;
}

.education-fallback-backdrop {
	z-index: 10040;
}

@media (max-width: 575.98px) {
	.education-modal .modal-dialog {
		margin: 16px auto;
		width: calc(100% - 24px);
	}

	.education-duration-row {
		grid-template-columns: 1fr;
	}
}
