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

.employment-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;
}

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

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

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

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

.employment-summary .employment-company {
	color: #2d3135;
	text-transform: uppercase;
}

.employment-update-warning {
	background: rgba(255, 193, 7, 0.12);
	border: 1px solid rgba(255, 193, 7, 0.28);
	border-radius: 0.35rem;
	color: #8a5a00;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 1rem;
	padding: 0.7rem 0.9rem;
}

.employment-record-warning {
	color: #b7791f !important;
	font-weight: 600;
}

.employment-job-full,
.employment-job-profile.is-expanded .employment-job-short {
	display: none;
}

.employment-job-profile.is-expanded .employment-job-full {
	display: inline;
}

.employment-read-more {
	background: transparent;
	border: 0;
	color: #2f5fff;
	font-weight: 600;
	padding: 0;
}

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

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

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

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

#uploadresume {
	z-index: 10050;
}

.modal-backdrop.show,
.employment-fallback-backdrop {
	z-index: 10040;
}

#uploadresume .modal-dialog {
	margin-top: 30px;
}

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

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

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

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

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

.employment-modal-header p {
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

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

.employment-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;
}

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

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

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

.employment-field .form-control {
	border: 1px solid #e2e8ec;
	border-radius: 0.4rem;
	color: #2d3135;
	font-size: 14px;
	min-height: 48px;
}

.employment-field textarea.form-control {
	min-height: 130px;
}

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

.employment-field.has-error .form-control,
.employment-field.has-error .nice-select,
.employment-field.has-error .employment-tag-input {
	border-color: #e03131;
}

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

.employment-tag-input {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8ec;
	border-radius: 0.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 48px;
	padding: 8px 10px;
}

.employment-tag-input:focus-within {
	border-color: var(--maincolor);
	box-shadow: 0 0 0 0.2rem rgba(0, 128, 96, 0.08);
}

.employment-tag-input input {
	border: 0;
	color: #2d3135;
	flex: 1 1 170px;
	font-size: 14px;
	min-width: 150px;
	outline: 0;
	padding: 4px;
}

.employment-skill-chip {
	align-items: center;
	background: var(--tagbg);
	border-radius: 0.2rem;
	color: var(--tagcolor);
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 8px;
	line-height: 1.2;
	min-height: 25px;
	padding: 4px 10px;
}

.employment-skill-chip button {
	background: transparent;
	border: 0;
	color: #2d3135;
	font-size: 16px;
	line-height: 1;
	padding: 0;
}

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

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

.employment-modal .nice-select .option {
	line-height: 42px;
	min-height: 42px;
	white-space: normal;
}

.employment-radio-row {
	display: flex;
	gap: 60px;
}

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

.employment-autocomplete {
	position: relative;
}

.employment-autocomplete-list {
	background: #fff;
	border: 1px solid #e2e8ec;
	border-radius: 0.4rem;
	box-shadow: 0 12px 24px rgba(0, 22, 46, 0.08);
	display: none;
	left: 0;
	max-height: 420px;
	overflow-y: auto;
	position: absolute;
	right: 0;
	top: calc(100% + 3px);
	z-index: 10060;
}

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

.employment-autocomplete-list button:hover {
	background: #f4f7fa;
}

.employment-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 1.5rem;
}

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

	.employment-radio-row {
		gap: 32px;
	}

	.employment-field-spacer label {
		display: none;
	}
}
