/*-------------------------------------------------------------------------------------------*/
/* Überschrift */
h2 {
	color: #525f7f;
	font-size: 40px;
	font-weight: 1000;
	letter-spacing: 1px;
	margin-top: 0;
	margin-bottom: 35px;
	padding-bottom: 12px;
	border-bottom: 6px solid;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
	border-image: linear-gradient(to right,
	#223e73, #1694d2, #96be3d, #fcc60c, #ec8222, #ec2027, #e00d7b, #9a2065
	) 1;
	display: inline-block;
}
/*-------------------------------------------------------------------------------------------*/
.title-row{
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 35px;
}

.title-row h2{
	margin-bottom: 0;
}

.info-button{
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	font-size: 20px;
	color: #9a2065;
	transition: color 0.2s, transform 0.1s;
}

.info-button:hover{
	color: #e00d7b;
}

.info-button:active{
	transform: scale(0.9);
}
/*-------------------------------------------------------------------------------------------*/
/*Gesetzliche Regelungen*/
.info-box{
	display: none;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #1694d2;
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 25px;
	text-align: left;
	width:480px;
	flex-shrink: 0;
}

.info-box.visible{
	display: block;
}

.info-box h3{
	margin: 0 0 12px 0;
	font-size: 16px;
	font-weight: 600;
	color: #223e7e;
	display: flex;
	align-items: center;
	gap: 8px;
}
.info-box ul{
	list-style: none;
	padding-left: 0;
	margin: 12px 0 0 0;
}
.info-box li {
	font-size: 14px;
	color: #525f7f;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
}

.info-box li i{
	color: #96be3d;
	margin-top: 2px;
}

.info-box li:last-child i{
	color: #ec8223;
}
/*-------------------------------------------------------------------------------------------*/
/* Sonderregelungen */
.accordion-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #ec8222;
	border-radius: 10px;
	padding: 10px 10px;
	text-align: left;
	width: 450px;
	flex-shrink: 0;
	box-sizing: border-box;
	margin-top: 20px;
}

.accordion-section h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #525f7f;
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	gap: 10px;
}

.trigger-headline{
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #223e7e;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	user-select: none;
}

#gear-arrow {
	font-size: 16px;
	transition: transform 0.2s ease;
	color: #525f7f;
	margin-left: auto;
}

.accordion-intro {
	font-size: 14px;
	color: #718096;
	margin: 10px 15px;
	line-height: 1.5;
}

/* Details */
.accordion-item {
	border-bottom: 1px solid #edf2f7;
	padding: 8px 0;
}

.accordion-item:last-child {
	border-bottom: none;
}

.accordion-item summary {
	font-size: 16px;
	font-weight: 600;
	color: #525f7f;
	cursor: pointer;
	outline: none;
	transition: color 0.2s;
}

.accordion-item summary:hover {
	color: #e00d7b;
}

.accordion-content{
	font-size: 14px;
	color: #4a5568;
	line-height: 1.5;
	padding-top: 10px;
}

.accordion-content p{
	margin: 10px;
}

/* Footer */
.info-footer{
	width: 450px;
	flex-shrink: 0;
	text-align: left;
	padding-left: 5px;
	margin-top: 8px;
}

.info-footer p {
	font-size: 12px;
	color: #a0aec0;
	margin: 0;
}
/*-------------------------------------------------------------------------------------------*/
/* Background wie SaaS.de */
.bg-gradient-color{
	background-image: linear-gradient(325deg, #1597c2, #f8fcfd 63%);
}
/*-------------------------------------------------------------------------------------------*/
/* Main-Wrapper */
.main-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	max-width: 1200px;
	width: 100%;
	height: 600px;
	margin: 40px auto;
	padding: 0 20px;
	box-sizing: border-box;
}
/*-------------------------------------------------------------------------------------------*/
/* Rechner-Container */
.rechner-container {
	background: #ffffff;
	max-width: 800px;
	width: 100%;
	padding: 35px;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(13, 51, 92, 0.08);
	box-sizing: border-box;
	flex-shrink: 0;
}
/*-------------------------------------------------------------------------------------------*/
/* Grid System */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 25px;
}
/*-------------------------------------------------------------------------------------------*/
/* Inputfelder */
.input-container {
	display: flex;
	flex-direction: column;
	text-align: left;
	width: 100%;
}

.input-container label {
	font-size: 14px;
	font-weight: 600;
	color: #223e7e;
	margin-bottom: 10px;
	display: flex;
	gap: 8px;
	min-height: 40px;
	align-items: flex-end;
}

.input-group {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
}

.input-group select.hide-low-days .nur-tz {
	display: none;
}

.input-group select,
.input-group input {
	width: 100%;
	padding: 12px 16px;
	padding-right: 65px;
	font-size: 15px;
	color: black;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	outline: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

/* Fokus-Effekt */
.input-group select:focus,
.input-group input:focus {
	border-color: #1694d2;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(22, 148, 210, 0.15);
}

/* Tage/Monate rechts in das Feld setzen */
.input-group span {
	position: absolute;
	right: 15px;
	font-size: 14px;
	font-weight: 600;
	color: #a0aec0;
	pointer-events: none;
}

/* Pfeil für Select-Boxen */
.input-group select {
	background-image: url(caret-down-solid.png);
	background-repeat: no-repeat;
	background-position: right 50px center;
	background-size: 20px;
}

#beschaeftigung {
	padding-right: 16px;
	background-position: right 12px center;
}

#uanspruchmonate {
	padding-right: 85px;
	background-position: right 70px center;
}

/*-------------------------------------------------------------------------------------------*/
/* Teilzeit-Bereich */
#minijob-wochen {
	grid-column: span 2;
	margin-top: 15px;
	background: #f8fcfc;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

#minijob-wochen p {
	margin-top: 0;
	margin-bottom: 15px;
	color: #525f7f;
}

/*-------------------------------------------------------------------------------------------*/
/* Ergebnis-Anzeige*/
.result-container.form-grid {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 2px solid #edf2f7;
	margin-bottom: 0;
	display: none;
}
.result-container.form-grid.visible {
	display: grid;
	max-height: 200px;
	opacity: 1;
	visibility: visible;
}

.result-box {
	display: flex;
	flex-direction: column;
	width: 100%;
}

#result-label, #rest-label {
	font-size: 18px;
	font-weight: 600;
	color: #e00d7b;
	margin-bottom: 10px;
	display: flex;
	align-items: flex-end;
	min-height: 40px;
}

.result-display {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
}

.result-display input {
	width: 100%;
	padding: 12px 16px;
	font-size: 18px;
	font-weight: 800;
	border-radius: 10px;
	text-align: left;
	outline: none;
	box-sizing: border-box;
	color: #2b6cb0;
	background-color: #ebf8ff;
	border: 2px solid #bee3f8;
	box-shadow: inset 0 2px 4px rgba(43, 108, 176, 0.05);
}

.result-display span {
	position: absolute;
	right: 15px;
	font-size: 16px;
	font-weight: 700;
	color: #2b6cb0;
	pointer-events: none;
}

/*-------------------------------------------------------------------------------------------*/
/* Berechnen-Knopf */
.calc-button {
	width: 100%;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
	background-color: #e00d7b;
	color: white;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	margin-top: 25px;
	transition: background-color 0.2s, transform 0.1s;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.calc-button:active {
	transform: scale(0.94);
}
/*-------------------------------------------------------------------------------------------*/
/* GdB-Checkbox */
.input-container.gdb-checkbox-container {
	grid-column: span 2;
	margin-top: 15px;
}

.gdb-checkbox-container .checkbox-label {
	font-size: 14px;
	font-weight: 600;
	color: #223e7e;
	cursor: pointer;
	display: flex !important;
	align-items: center !important;
	min-height: auto !important;
	gap: 10px;
	user-select: none;
}

.gdb-checkbox-container .checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	accent-color: #1694d2;
}

.gdb-checkbox-container .checkbox-label i {
	display: flex;
	align-items: center;
	line-height: 1;
}