/**************skilled-employment-calculator*******************/
#skill-employment-calculator h3 {
	color: #0a1451;
	font-weight: 700;
	margin-bottom: 20px;
}

#skill-employment-calculator button {
	width: 160px;
	font-size: 16px;
	font-weight: 500;
	padding: 10px 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s;
	flex: auto;
	border:0px
}

#skill-employment-calculator .btn-group {
	gap: 10px;
	margin-bottom: 0px;
}

#addPeriodBtn {
	background: #0a1451;
	color: white;
}

#calculateBtn {
	background: #28a745;
	color: white;
}

#calculateBtn:hover {
	background: #218838;
}

#resetBtn {
	background: #6c757d;
	color: white;
}

#resetBtn:hover {
	background: #5a6268;
}

ul#periodsContainer li label {
	margin-right: 10px;
	font-weight: 600;
	color: #6B7385;
}

#totalResult {
	font-weight: 700;
	font-size: 15px;
	margin-top: 10px;
	color: #9b2b41;
}

.period-row {
	display: list-item;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

#periodsContainer input[type="date"] {
	border: 1px solid #ced4da;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 14px;
	color: #0a1451;
	width: 200px;
	margin-left: 10px;
}

#periodsContainer input[type="checkbox"].parttimeCheck {
	width: 100%;
	position: relative;
	width: 18px;
	height: 18px;
	cursor: pointer;
	appearance: none;
	border: 2px solid #666;
	border-radius: 4px;
	background: #fff;
	transition: background-color 0.3s, border-color 0.3s;
}

#periodsContainer input[type="checkbox"].parttimeCheck:checked {
	background-color: #2980b9;
	border-color: #2980b9;
}

#periodsContainer input[type="checkbox"].parttimeCheck:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.parttimeLabel {
	user-select: none;
	cursor: pointer;
	color: #0a1451;
	font-weight: 600;
}

.remove-period-btn {
	background: #e74c3c;
	border: none;
	color: white;
	font-size: 1.3rem;
	line-height: 1;
	padding: 0 8px;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.remove-period-btn:hover {
	background: #c0392b;
}

#resultsList>div {
	background: transparent;
	border-radius: 6px;
	padding: 0px;
	margin-bottom: 20px;
	color: #0a1451;
	font-weight: 600;
	margin-top: 40px;
}

#resultsList>div em {
	color: #2980b9;
	font-style: normal;
	margin-left: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	background: #d6e4ff;
	padding: 2px 6px;
	border-radius: 4px;
}

.info-box {
	border: 1px solid #0a1451;
	background: #ffffff;
	padding: 14px 18px;
	margin-top: 25px;
	border-radius: 6px;
	font-size: 14px;
	color: #555;
}

#skill-employment-calculator #addPeriodBtn {
	color: white;
	font-size: 18px;
	padding: 10px 0;
	cursor: pointer;
	border-radius: 100px;
	width: 28px;
	height: 28px;
	line-height: 0px;
	display: flex;
	justify-content: center;
	vertical-align: middle;
	align-items: center;
}

/* Day counter styles */
.day-counter {
	margin-top: 40px;
}

.day-counter label,
.day-counter input {
	font-weight: 600;
	color: #0a1451;
}

.day-counter input[type="number"] {
	width: 60px;
	padding: 6px 10px;
	border-radius: 5px;
	border: 1px solid #ced4da;
	margin-right: 8px;
}

.day-counter input[type="date"] {
	width: 180px;
	margin-right: 10px;
}

.day-counter .result {
	background: #e8ecfc;
	padding: 8px 12px;
	border-radius: 5px;
	display: inline-block;
	min-width: 160px;
	font-weight: 600;
	color: #0a1451;
}

.day-counter div {
	display: inline;
	margin-right: 10px;
}

.day-counter div label {
	margin-right: 10px;
}

#skill-employment-calculator {
	padding: 0px;
}

#skill-employment-calculator .remove-period-btn {
	background: #e74c3c;
	color: white;
	font-size: 18px;
	padding: 10px 0;
	cursor: pointer;
	border-radius: 100px;
	width: 28px;
	height: 28px;
	line-height: 3px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
	.day-counter .dayCounterResult {
		display: block;
		margin-top: 20px;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.day-counter div {
		margin-bottom: 20px;
	}

	ul#periodsContainer li label {
		display: inline-block;
		width: 44%;
		margin-bottom: 20px;
	}

	ul#periodsContainer li label input {
		margin-left: 0;
	}

	ul#periodsContainer li label input {
		margin-left: 0 !important;
	}
}

@media (max-width: 650px) {
	.period-row {
		flex-wrap: wrap;
	}

	.period-row label,
	.period-row input,
	.period-row button {
		flex: 1 1 100%;
		margin-bottom: 8px;
	}

	.day-counter {
		flex-wrap: wrap;
	}

	#periodsContainer input[type="date"] {
		width: 100%;
	}
}

@media (max-width: 580px) {
	#skill-employment-calculator button {
		width: 48%;
		margin-bottom: 10px;
	}

	.day-counter div {
		margin-bottom: 20px;
		display: block;
		margin-right: 0px;
	}

	.day-counter div label {
		width: 57px;
	}
}