/* ==========================================================================
   Max Perutz Labs - Corporate Identity Styles
   Primary: #003855 (Dunkelblau)
   Secondary: #00d0c7 (Türkis)
   Tertiary: #fd4c54 (Korallrot)
   ========================================================================== */

/* ==========================================================================
   Typo3 Corporate Fonts - Untitled Sans & Tiempos Fine
   ========================================================================== */

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-Regular.woff2') format('woff2'),
         url('../fonts/UntitledSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-RegularItalic.woff2') format('woff2'),
         url('../fonts/UntitledSans-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-Bold.woff2') format('woff2'),
         url('../fonts/UntitledSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Untitled';
    src: url('../fonts/UntitledSans-BoldItalic.woff2') format('woff2'),
         url('../fonts/UntitledSans-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Tiempos';
    src: url('../fonts/TiemposFineMedium.woff2') format('woff2'),
         url('../fonts/TiemposFineMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tiempos';
    src: url('../fonts/TiemposFineMediumItalic.woff2') format('woff2'),
         url('../fonts/TiemposFineMediumItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

:root {
	--mpl-primary: #003855;
	--mpl-primary-dark: #002a40;
	--mpl-secondary: #00d0c7;
	--mpl-secondary-dark: #00a69f;
	--mpl-tertiary: #fd4c54;
	--mpl-body-color: #003855;
	--mpl-bg-light: #f7f7f7;
	--mpl-white: #ffffff;
	--mpl-gray: #6c757d;
	--mpl-border: #e2e8f0;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: "Source Code Pro", sans-serif;
}

.lbody {
	/* background-image: url('/images/Perutz4k.jpg'); */
	background-size: cover; /* Bild auf die volle Bildschirmgröße skalieren */
	background-position: center; /* Bild zentrieren */
	background-attachment: fixed; /* Bild bleibt fixiert beim Scrollen */
	min-height: 100vh; /* Sicherstellen, dass der Body mindestens die volle Bildschirmhöhe hat */
	margin: 0; /* Optional, entfernt Standardabstände */
}


body {
	color: var(--mpl-body-color);
	line-height: 1.6;
}

p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

/* Headings - Poppins, uppercase, bold */
h1, h2, h3 {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mpl-primary);
	letter-spacing: 0.5px;
}

h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

/* Links - Türkis */
a {
	color: var(--mpl-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--mpl-secondary-dark);
	text-decoration: underline;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh; /* Container auch auf volle Bildschirmhöhe setzen */
}

.bcontainer {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh; /* Container auch auf volle Bildschirmhöhe setzen */
}

.screen {
	background: linear-gradient(90deg, var(--mpl-primary), var(--mpl-secondary));
	position: relative;
	height: 600px;
	width: 360px;
	box-shadow: 0px 0px 24px var(--mpl-primary);
}


.screen__content {
	z-index: 1;
	position: relative;
	height: 100%;
}

}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.screen {
	background: linear-gradient(90deg, var(--mpl-primary), var(--mpl-secondary));
	position: relative;
	height: 600px;
	width: 360px;
	box-shadow: 0px 0px 24px var(--mpl-primary);
}

.screen__content {
	z-index: 1;
	position: relative;
	height: 100%;
}

.screen__background {		
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	-webkit-clip-path: inset(0 0 0 0);
	clip-path: inset(0 0 0 0);	
}

.screen__background__shape {
	transform: rotate(45deg);
	position: absolute;
}

.screen__background__shape1 {
	height: 520px;
	width: 520px;
	background: #FFF;
	top: -50px;
	right: 120px;	
	border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
	height: 220px;
	width: 220px;
	background: var(--mpl-primary);
	top: -172px;
	right: 0;
	border-radius: 32px;
}

.screen__background__shape3 {
	height: 540px;
	width: 190px;
	background: linear-gradient(270deg, var(--mpl-primary), var(--mpl-secondary));
	top: -24px;
	right: 0;
	border-radius: 32px;
}

.screen__background__shape4 {
	height: 400px;
	width: 200px;
	background: var(--mpl-secondary);
	top: 420px;
	right: 50px;
	border-radius: 60px;
}

.login {
	width: 320px;
	padding: 30px;
	padding-top: 156px;
}

.login__field {
	padding: 20px 0px;	
	position: relative;	
}

.login__icon {
	position: absolute;
	top: 30px;
	color: var(--mpl-secondary);
}

.login__input {
	border: none;
	border-bottom: 2px solid #D1D1D4;
	background: none;
	padding: 10px;
	padding-left: 24px;
	font-weight: 700;
	width: 75%;
	transition: .2s;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
	outline: none;
	border-bottom-color: var(--mpl-secondary);
}

.login__submit {
	background: #fff;
	font-size: 14px;
	margin-top: 30px;
	padding: 16px 20px;
	border-radius: 26px;
	border: 1px solid #D4D3E8;
	text-transform: uppercase;
	font-weight: 700;
	font-family: "Poppins", sans-serif;
	display: flex;
	align-items: center;
	width: 100%;
	color: var(--mpl-primary);
	box-shadow: 0px 2px 2px var(--mpl-secondary);
	cursor: pointer;
	transition: .2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
	border-color: var(--mpl-secondary);
	outline: none;
}

.button__icon {
	font-size: 24px;
	margin-left: auto;
	color: var(--mpl-secondary);
}

.social-login {	
	position: absolute;
	height: 140px;
	width: 160px;
	text-align: center;
	bottom: 0px;
	right: 0px;
	color: #fff;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-login__icon {
	padding: 20px 10px;
	color: #fff;
	text-decoration: none;	
	text-shadow: 0px 0px 8px var(--mpl-secondary);
}

.social-login__icon:hover {
	transform: scale(1.5);	
}

@font-face {
	font-display: swap;
	font-family: Font Awesome\ 6 Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/fa-regular-400.244128d7.woff2) format("woff2"),url(../fonts/fa-regular-400.cde87501.ttf) format("truetype")
}

@font-face {
	font-display: swap;
	font-family: Font Awesome\ 6 Pro;
	font-style: normal;
	font-weight: 900;
	src: url(../fonts/fa-solid-900.9f1626ec.woff2) format("woff2"),url(../fonts/fa-solid-900.42ce62dd.ttf) format("truetype")
}

@font-face {
	font-display: swap;
	font-family: Font Awesome\ 6 Pro;
	font-style: normal;
	font-weight: 100;
	src: url(../fonts/fa-thin-100.cc75bac9.woff2) format("woff2"),url(../fonts/fa-thin-100.54ac01ae.ttf) format("truetype")
}

/* FontAwesome Icon Classes */
.fa,
.fas,
.far,
.fal,
.fat,
.fab {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}

.fa,
.fas {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
}

.far {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
}

.fal,
.fat {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 100;
}

/* Common FontAwesome Icons */
.fa-eye:before { content: "\f06e"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-ellipsis-v:before { content: "\f142"; }
.fa-search:before { content: "\f002"; }
.fa-calendar-check:before { content: "\f274"; }
.fa-check-circle:before { content: "\f058"; }
.fa-times-circle:before { content: "\f057"; }
.fa-ban:before { content: "\f05e"; }
.fa-user-times:before { content: "\f235"; }
.fa-user-check:before { content: "\f4fc"; }
.fa-video:before { content: "\f03d"; }
.fa-building:before { content: "\f1ad"; }
.fa-file-alt:before { content: "\f15c"; }
.fa-file-pdf:before { content: "\f1c1"; }
.fa-download:before { content: "\f019"; }
.fa-trash:before { content: "\f1f8"; }
.fa-edit:before { content: "\f044"; }
.fa-plus:before { content: "\f067"; }
.fa-minus:before { content: "\f068"; }
.fa-save:before { content: "\f0c7"; }
.fa-times:before { content: "\f00d"; }
.fa-check:before { content: "\f00c"; }
.fa-user:before { content: "\f007"; }
.fa-users:before { content: "\f0c0"; }
.fa-cog:before { content: "\f013"; }
.fa-sign-out-alt:before { content: "\f2f5"; }
.fa-briefcase:before { content: "\f0b1"; }
.fa-home:before { content: "\f015"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-exclamation-triangle:before { content: "\f071"; }
.fa-question-circle:before { content: "\f059"; }
.fa-arrow-left:before { content: "\f060"; }
.fa-arrow-right:before { content: "\f061"; }
.fa-external-link-alt:before { content: "\f35d"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-inbox:before { content: "\f01c"; }
.fa-clock:before { content: "\f017"; }
.fa-calendar:before { content: "\f073"; }
.fa-user-edit:before { content: "\f4ff"; }
.fa-sync:before { content: "\f021"; }
.fa-refresh:before { content: "\f021"; }
.fa-spinner:before { content: "\f110"; }
.fa-circle:before { content: "\f111"; }
.fa-thumbs-up:before { content: "\f164"; }
.fa-thumbs-down:before { content: "\f165"; }
.fa-folder-open:before { content: "\f07c"; }
.fa-pencil-alt:before { content: "\f303"; }
.fa-phone:before { content: "\f095"; }
.fa-key:before { content: "\f084"; }
.fa-database:before { content: "\f1c0"; }
.fa-chart-bar:before { content: "\f080"; }
.fa-list:before { content: "\f03a"; }
.fa-copy:before { content: "\f0c5"; }
.fa-lock:before { content: "\f023"; }
.fa-unlock:before { content: "\f09c"; }
.fa-link:before { content: "\f0c1"; }
.fa-tag:before { content: "\f02b"; }
.fa-tags:before { content: "\f02c"; }
.fa-file:before { content: "\f15b"; }
.fa-file-word:before { content: "\f1c2"; }
.fa-file-image:before { content: "\f1c5"; }
.fa-graduation-cap:before { content: "\f19d"; }
.fa-certificate:before { content: "\f0a3"; }
.fa-star:before { content: "\f005"; }
.fa-book:before { content: "\f02d"; }
.fa-globe:before { content: "\f0ac"; }

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-1.woff2) format("woff");
	unicode-range: u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-2.woff2) format("woff");
	unicode-range: u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-3.woff2) format("woff");
	unicode-range: u+1f??
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-4.woff2) format("woff");
	unicode-range: u+0370-03ff
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-5.woff2) format("woff");
	unicode-range: u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-6.woff2) format("woff");
	unicode-range: u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff
}

@font-face {
	font-display: swap;
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/source-code-pro-7.woff2) format("woff");
	unicode-range: u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd
}

@font-face {
	font-display: swap;
	font-family: Poppins;
	font-style: normal;
	font-weight: 700;
	src: url(../fonts/poppins-1.woff2) format("woff2");
	unicode-range: u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+25cc,u+a830-a839,u+a8e0-a8ff
}

@font-face {
	font-display: swap;
	font-family: Poppins;
	font-style: normal;
	font-weight: 700;
	src: url(../fonts/poppins-2.woff2) format("woff2");
	unicode-range: u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff
}

@font-face {
	font-display: swap;
	font-family: Poppins;
	font-style: normal;
	font-weight: 700;
	src: url(../fonts/poppins-3.woff2) format("woff2");
	unicode-range: u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd
}

@font-face {
	font-display: swap;
	font-family: Playfair Display;
	font-style: normal;
	font-weight: 900;
	src: url(../fonts/playfair-display-1.woff2) format("woff");
	unicode-range: u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116
}

@font-face {
	font-display: swap;
	font-family: Playfair Display;
	font-style: normal;
	font-weight: 900;
	src: url(../fonts/playfair-display-2.woff2) format("woff");
	unicode-range: u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab
}

@font-face {
	font-display: swap;
	font-family: Playfair Display;
	font-style: normal;
	font-weight: 900;
	src: url(../fonts/playfair-display-3.woff2) format("woff");
	unicode-range: u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff
}

@font-face {
	font-display: swap;
	font-family: Playfair Display;
	font-style: normal;
	font-weight: 900;
	src: url(../fonts/playfair-display-4.woff2) format("woff");
	unicode-range: u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd
}

/* Dashboard CSS */

/*.dashboard-container {
	width: 100%;
	margin: 0px
} */

.dashboard-container {
	display: flex;
	flex-direction: column; /* Stellt sicher, dass sie untereinander erscheinen */
	/* margin: 50px auto;
	padding: 20px; */
	background: #ffffff; */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.dashboard-header {
	height: 100px;
	border-bottom: var(--mpl-white) solid 1px;
	-webkit-box-shadow: 0 4px 6px -6px #222;
	-moz-box-shadow: 0 4px 6px -6px #222;
	box-shadow: 0 4px 6px -6px #222;
	background: var(--mpl-primary);
}

.dashboard-left {
    float: left;
}

.dashboard-left img {
    max-height: 99px;
    width: auto;
}

.dashboard-middle {
    padding-top: 30px;
    padding-left: 20px;
    font-family: Playfair Display;
    font-size: 24px;
    float: left;
}

.dashboard-exit {
    float: right;
    padding-top: 30px;
    padding-right: 30px;
}

.dashboard-exit img {
    border: 0px;
	-webkit-filter: invert(1);
	filter: invert(1);
}
.dashboard-main {
    min-height: 200px;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    /* background-color: #2196F3; */
	padding: 10px;
}

.grid-item {

}

.dashboard-footer {
	padding-top: 10px;
	padding-left: 10px;
	color: var(--mpl-secondary);
	height: 50px;
	border-top: var(--mpl-primary) solid 1px;
	-webkit-box-shadow: 0 -4px 6px -6px #222;
	-moz-box-shadow: 0 -4px 6px -6px #222;
	box-shadow: 0 -4px 6px -6px #222;
}

.dashboard-time {
	font-family: Playfair Display;
	font-size: 14px;
}

.dashboard-wrapper {
	width: 95%;
	margin: 50px auto;
	padding: 20px;
	background: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.grid-container {
	margin-top: 50px;
	display: grid;
	grid-template-columns: repeat(10, 1fr); /* Standardmäßig 5 Kacheln pro Reihe */
	gap: 20px;
	width: 90%;
	max-width: 1200px;
	color: var(--mpl-primary);
}

.grid-container a {
	text-decoration: none;
	color: var(--mpl-primary);
	transition: color 0.2s;
}

.tile {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
	transition: transform 0.2s, background-color 0.2s;
}
.tile:hover {
	background-color: var(--mpl-primary);
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tile:hover .tile-title,
.tile:hover a {
	color: #ffffff; /* Linkfarbe und Titel werden weiß */
}

.tile-img-container {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px auto;
	transition: filter 0.2s;
}

.tile-img-container img {
	width: 100%;
	height: 100%;
	display: block;
}

.tile:hover img {
	filter: invert(1); /* Bild invertieren beim Hover */
}

.tile-title {
	font-size: 16px;
	font-weight: bold;
	color: var(--mpl-primary);
	font-family: "Poppins", sans-serif;
}


.user-role {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-top: 20px;
	margin-left: 10px;
	margin-bottom: 20px;
	font-family: "Source Code Pro";
	font-size: 10px;
}

/* Media Queries für verschiedene Bildschirmgrößen */
@media (max-width: 1024px) {
	.grid-container {
		grid-template-columns: repeat(3, 1fr); /* 3 Kacheln pro Reihe bei mittlerer Breite */
	}
}
@media (max-width: 600px) {
	.grid-container {
		grid-template-columns: repeat(2, 1fr); /* 2 Kacheln pro Reihe bei kleiner Breite */
	}
}
@media (max-width: 400px) {
	.grid-container {
		grid-template-columns: 1fr; /* 1 Kachel pro Reihe bei sehr kleiner Breite */
	}
}

table {
	width: 100%;
	border-collapse: collapse;
}
table, th, td {
	border: 1px solid black;
	padding: 8px;
	text-align: center;
}
/* Hintergrundfarben für Berechtigungsgruppen */
.superuser-row {
	background-color: lightgreen;
}
.adminoffice-row {
	background-color: lightorange;
}
.admin-row {
	background-color: lightcoral;
}
.teamleader-row {
	background-color: lightblue;
}
.inactive-row {
	background-color: #f0f0f0;
}

/* Einfache CSS-Styling */
#suggestions {
	border: 1px solid #ccc;
	max-height: 100px;
	overflow-y: auto;
}
.suggestion-item {
	padding: 8px;
	cursor: pointer;
}
.suggestion-item:hover {
	background-color: #f0f0f0;
}

.container {
	/* width: 80%; */
	margin: 50px auto;
	padding: 20px;
	background: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

h2 {
	color: var(--mpl-primary);
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

h3 {
	color: var(--mpl-primary);
	font-size: 1.25rem;
	padding-top: 10px;
	padding-bottom: 10px;
}

h4 {
	color: var(--mpl-secondary);
	font-family: "Playfair Display", serif;
	font-size: 1.25rem;
	font-weight: 900;
	text-transform: none;
}

h5 {
	color: var(--mpl-gray);
	font-family: "Source Code Pro", monospace;
	font-size: 0.75rem;
}

h6 {
	color: var(--mpl-white);
	font-family: "Source Code Pro", monospace;
	font-size: 0.875rem;
}


label {
	display: block;
	margin-top: 10px;
	font-weight: bold;
	color: #555;
}

input, select, button {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

button {
	background-color: var(--mpl-primary);
	color: white;
	font-size: 16px;
	cursor: pointer;
	border: none;
	padding: 10px;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

button:hover {
	background-color: var(--mpl-primary-dark);
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.excel {
	width: 100%;
	border-collapse: collapse;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-family:  "Source Code Pro";
	font-size: 16px;
}
.excel th, .excel td {
	border: 1px solid #d0d0d0;
	padding: 8px 12px;
	text-align: left;
}
.excel th {
	background-color: #f0f3f5;
	font-weight: bold;
	color: #333;
}
.excel tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}
.excel tbody tr:hover {
	background-color: #e2f3fc;
}
.excel a {
	color: var(--mpl-primary);
	text-decoration: none;
}
.excel a:hover {
	text-decoration: underline;
}

.userdetail-container { display: flex; font-family: 'Source Code Pro', monospace; font-size: 11px; }
.userdetail-left  { width: 20%; padding: 20px; box-sizing: border-box; }
.userdetail-right {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column; /* Stapelt die Elemente vertikal */
}
.userdetail-left p{ padding-top: 7px } /* Padding erhöht */
.userdetail-left img { max-width: 450px; padding-bottom: 10px } /* Breite des Profilpics */
.userdetail-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.userdetail-table, .userdetail-table th, .userdetail-table td { border: 1px solid #ddd; padding: 8px; text-align: left; }
.userdetail-table th { background-color: #f2f2f2; }
.excel-style tr:nth-child(even) { background-color: #f9f9f9; }
.excel-style tr:hover { background-color: #e1f5fe; }
.userdetail-submit-button { margin-top: 20px; padding: 10px 15px; background-color: var(--mpl-primary); color: white; border: none; cursor: pointer; }
.userdetail-header { font-size: 1.5em; margin-bottom: 20px; }
/* textarea { width: 100%; max-width: 600px; height: 100px; } -- Deaktiviert, wird in spezifischen Formularen definiert */
.delete-job-button { margin-top: 5px; padding: 10px 10px; background-color: #f44336; color: white; border: none; cursor: pointer; }
.delete-special-role-button { margin-top: 5px; padding: 10px 10px; background-color: #f44336; color: white; border: none; cursor: pointer; }
.add-job-button { margin-top: 5px; padding: 10px 10px; background-color: var(--mpl-secondary); color: white; border: none; cursor: pointer; }
.add-special-role-button {
	margin-top: 5px; padding: 10px 10px; background-color: var(--mpl-secondary); color: white; border: none; cursor: pointer;
}
.userdetail-info-table { width: 70%; border-collapse: collapse; margin-top: 10px; font-family: 'Source Code Pro', monospace; font-size: 11px; }
.userdetail-info-table td { padding: 8px; }
.userdetail-info-label { font-weight: bold; width: 30%; }
.userdetail-info-input { width: 70%; }
.userdetails

	/* Wenn Employments und Sonderfunktionen separate Bereiche sind, stellen Sie sicher, dass die Sonderfunktionen vertikal angeordnet sind */
.employments-container {
	display: flex;
	flex-direction: column; /* Stellt sicher, dass Employments vertikal erscheinen */
}

.special-functions-container {
	display: flex;
	flex-direction: column; /* Stellt sicher, dass Sonderfunktionen untereinander erscheinen */
	margin-top: 20px; /* Abstand, um sie unter Employments anzuordnen */
}

/* Sicherstellen, dass die Kacheln im Bereich der Sonderfunktionen vertikal erscheinen */
.special-functions-container .tile {
	margin-bottom: 10px; /* Abstand zwischen den Sonderfunktionen */
}

.userdetail-container {
	display: flex;
	flex-direction: row;  /* Sicherstellen, dass die Elemente nebeneinander angezeigt werden */
	font-family: Arial, sans-serif;
}

.container-right {
	width: 100%;
}

.userdetail-left {
	width: 25%;  /* Die Breite des linken Containers (z. B. "Employments") */
	padding: 20px;
	box-sizing: border-box;
}

.userdetail-right {
	width: 100%;  /* Die Breite des rechten Containers (z. B. "Sonderfunktionen") */
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;  /* Die Elemente innerhalb des rechten Containers vertikal anordnen */
}

/* Optional: Styling anpassen für das Verhalten der Tabellen und Buttons */
.userdetail-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.userdetail-table, .userdetail-table th, .userdetail-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
	font-family: "Source Code Pro";
	font-size: 11px;
}

.userdetail-table th {
	background-color: #f2f2f2;
}

/* Anpassungen für Buttons */
.userdetail-submit-button {
	margin-top: 20px;
	padding: 10px 15px;
	background-color: var(--mpl-primary);
	color: white;
	border: none;
	cursor: pointer;
}

.delete-job-button {
	margin-top: 5px;
	padding: 5px 10px;
	background-color: #f44336;
	color: white;
	border: none;
	cursor: pointer;
}

.delete-special-role-button {
	margin-top: 5px;
	padding: 5px 10px;
	background-color: #f44336;
	color: white;
	border: none;
	cursor: pointer;
}

.add-job-button {
	margin-top: 5px;
	padding: 10px 10px;
	background-color: var(--mpl-secondary);
	color: white;
	border: none;
	cursor: pointer;
}

.add-special-role-button {
	margin-top: 10px;
}

.userdetail-info-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.userdetail-info-table td {
	padding: 8px;
	text-align: left;
}

.userdetail-info-label {
	font-weight: bold;
	width: 30%;
}

.userdetail-info-input {
	width: 70%;
}

.check-warning { color: red; margin-left: 10px; }
.check-success { color: var(--mpl-primary); margin-left: 10px; }
.ui-datepicker { font-size: 14px; }
.form-container {
	margin: 20px;
	padding: 20px;
	max-width: 500px;
}

.form-row checkbox: {
	width: 7px;
}
.datepicker-input {
	padding: 5px;
	margin: 0 10px;
}
button[type="submit"] {
	padding: 8px 15px;
	background-color: var(--mpl-primary);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
button[type="submit"]:hover {
	background-color: var(--mpl-primary);
}

.service-wrapper {
	margin-top: 10px;
	/* display: flex;           /* Aktiviert Flexbox */
	/* flex-direction: row;     /* Elemente von links nach rechts anordnen */
	/* gap: 10px;               /* Abstand zwischen den Elementen */
	/* align-items: center;     /* Elemente vertikal zentrieren */
	/* justify-content: start;  /* Elemente am linken Rand ausrichten */
}

.permission-request {
	background-color: #f9f9f9;
	padding: 15px;
	margin-top: 10px;
}
.pending {
	color: orange;
	font-style: italic;
}

.granted { color: green; font-weight: bold; }
.date-input { border: none; background: transparent; font-weight: bold; }

.service-wrapper-main {
	margin-top: 10px;
}

.servicewrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;               /* Einheitlicher Abstand zwischen allen <li>-Elementen */
	align-items: center;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.servicewrapper li {
	display: flex;
	align-items: center;
	gap: 5px;                /* Abstand zwischen Text und Datum innerhalb des <li>-Elements */
	white-space: nowrap;
	width: 250px;            /* Einheitliche Breite für alle <li>-Elemente */
	justify-content: space-between; /* Text und Datum werden an den Seiten ausgerichtet */
	height:40px;
}

.date-input {
	border: none;
	background: transparent;
	font-weight: bold;
}

.warning {
	color: darkred;
}

.userimg img {
	max-width: 300px;
	height: auto;
}

/* CSS für Löschvorgang und Progress Bar */

.warning-text {
	color: red;
	font-weight: bold;
}

/* Stil für den Löschbutton */
.userdel {
	background-color: red;
	color: white;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
}

/* Stil für den Fortschrittsbalken */
.progress-bar-container {
	width: 100%;
	background-color: #ddd;
	margin-top: 20px;
	height: 25px;
	border-radius: 5px;
	overflow: hidden;
}

.progress-bar {
	height: 100%;
	width: 0%;
	background-color: var(--mpl-primary);
	text-align: center;
	color: white;
	line-height: 25px;
	font-weight: bold;
}

/* Services Klasse */

.form-container {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	max-width: 800px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}

.elnwrapper {
	background-color: #fff;
	padding: 20px;
/*	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
	max-width: 800px;
	/* margin: 0 auto; */
	font-family: Arial, sans-serif;
}

/* Grundstil für linksbündige Elemente */
.eln_req {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 15px;
}

/* Checkbox und Label in einer Zeile */
.excel_eln {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* sorgt für Links-Ausrichtung */
	margin-bottom: 15px;
	width: 100%; /* nutzt die gesamte Breite */
}

.excel_eln input[type="checkbox"] {
	margin-right: 8px;
}

/* Labels und Eingabefelder */
.excel_eln label {
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
}

.excel_eln input[type="text"],
.excel_eln input[type="file"] {
	width: 100%;
	padding: 10px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 5px;
}

/* Datei-Upload und Submit-Button */
.excel_eln button[type="submit"] {
	background-color: var(--mpl-primary);
	color: white;
	padding: 10px;
	font-size: 1em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	margin-top: 15px;
}

.excel_eln button[type="submit"]:hover {
	background-color: var(--mpl-primary);
}

/* PPMS und PyRAT Wrapper */

.ppmswrapper, .pyratwrapper {
	width: 800px;  /* Setzt die Breite der Container auf 800px */
	/* margin: 0 auto; /* Zentriert den Container horizontal auf der Seite */
	text-align: left;  /* Stellt sicher, dass der Inhalt linksbündig ist */
}

.ppms_req, .pyrat_req {
	margin-bottom: 15px; /* Abstand zwischen den Checkboxen und dem Button */
}


.ppms_req, .pyrat_req button {
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
}

.statistics-container {
	max-width: 1000px;
	margin: 20px auto;
}
.month-selector {
	margin: 20px 0;
}
.graph {
	border: 1px solid #ccc;
}


.reportcontainer {
	width: 1700px;
	margin: 20px auto;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cat-form {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cat-selection-area {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cat-select-box {
	width: 300px;
	height: 200px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: white;
}

.cat-button-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cat-transfer-btn {
	padding: 8px 15px;
	background:var(--mpl-primary);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.cat-transfer-btn:hover {
	background: var(--mpl-primary);
}

.cat-submit-btn {
	height: 40px;
	padding: 8px 15px;
	background: var(--mpl-primary);
	background: white;
	color: black;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
}

/* Design by Andreas Timmelmayer für die Login Seite neu */

.plogin2-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.plogin2-logo {
	width: 200px;
	height: auto;
}

.plogin2-divider {
	border: none;
	height: 1px;
	background: var(--mpl-primary);
	margin: 40px 0 40px 0;
}

.plogin2-title {
	color: var(--mpl-secondary);
	margin: 0 0 50px 0;  /* 50px Abstand nach unten */
	font-size: 34px;
	font-weight: 900;
	font-family: "Playfair Display", serif;
}

.plogin2-main {
	display: flex;
	height: 500px;
	margin-top: 40px;
}

.plogin2-form-container {
	flex: 1;
	background: var(--mpl-primary);
	padding: 20px;
	position: relative;
}

.plogin2-form-border {
	border: 5px solid white;
	height: calc(100% - 40px);
	margin: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plogin2-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 80%;
	max-width: 400px;
	font-family: 'Source Code Pro', monospace;
}

.plogin2-form input {
	padding: 12px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-family: 'Source Code Pro', monospace;
}

.plogin2-form button {
	padding: 12px;
	background: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	color: var(--mpl-primary);
	font-family: "Poppins", sans-serif;
}

.plogin2-image {
	flex: 1;
	/* background-image: url('../images/MPL_ImageGrafik_StaffDatabase.jpg'); */
	background-size: cover;
	background-position: center;
}

.plogin2-form button:hover {
	background: var(--mpl-secondary);
	color: white;
}

@media (max-width: 768px) {
	.plogin2-main {
		flex-direction: column;
		height: auto;
	}

	.plogin2-form-container,
	.plogin2-image {
		width: 100%;
		height: 400px;
	}
}

.sort-asc::after { content: ' ▲'; }
.sort-desc::after { content: ' ▼'; }
.multiple-entries { white-space: pre-line; }
.sort-arrows { margin-left: 5px; }
.sort-arrow { cursor: pointer; padding: 0 3px; }
.sort-arrow.active { color: var(--mpl-primary); }


.publications-container {
	padding: 20px;
	background: #ffffff;
/*	border-radius: 8px; */
/*	box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
	margin: 20px 0;
}
.upcoming-publications-section {
	margin: 20px 0;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.year-publications-section {
	margin: 20px 0;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.year-selector {
	margin: 20px 0;
	text-align: center;
}

.year-selector select {
	padding: 8px 15px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	cursor: pointer;
}

.publication-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 15px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.publication-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.publication-type-info {
	font-size: 0.9em;
	color: #666;
}

.publication-type, .media-type {
	background: #f5f5f5;
	padding: 3px 8px;
	border-radius: 4px;
	margin-right: 5px;
}

.publication-title {
	font-size: 1.1em;
	font-weight: bold;
	margin: 10px 0;
	color: #333;
}

.authors-section {
	margin: 15px 0;
}

.authors-section > div {
	margin: 5px 0;
}

.author-label {
	font-weight: bold;
	color: #555;
	margin-right: 5px;
}

.publication-details {
	margin: 15px 0;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 4px;
}

.journal-info {
	margin-bottom: 10px;
}

.journal-name {
	font-weight: bold;
	color: #444;
}

.publication-links {
	margin-top: 15px;
	display: flex;
	gap: 10px;
}

.publication-links a {
	color: #0066cc;
	text-decoration: none;
	padding: 5px 10px;
	border: 1px solid #0066cc;
	border-radius: 4px;
	font-size: 0.9em;
}

.publication-links a:hover {
	background: #0066cc;
	color: #fff;
}

.mfpl-section {
	margin-top: 15px;
	padding: 10px;
	background: #f0f8ff;
	border-radius: 4px;
}

.upcoming .publication-card {
	border-left: 4px solid #00a0dc;
}

.publication-card {
	background: white;
	padding: 20px;
	margin: 15px 0;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pub-title {
	color: #003366;
	margin: 0 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #eee;
}

.pub-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pub-type {
	color: #666;
	margin-bottom: 10px;
}

.author-line {
	margin: 5px 0;
}

.pub-authors, .pub-journal, .pub-date, .pub-doi {
	margin: 8px 0;
}

.pub-format {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #eee;
	text-align: right;
}

.pub-format i {
	font-size: 1.2em;
	margin-left: 10px;
	color: #003366;
}

.pub-format i.fa-book {
	color: #8b0000;
}

.pub-format i.fa-globe {
	color: #006400;
}

.pub-doi a {
	color: #0066cc;
	text-decoration: none;
}

.pub-doi a:hover {
	text-decoration: underline;
}

.pub-identifiers {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 10px 0;
}

.pub-pubmed a {
	color: #0066cc;
	text-decoration: none;
}

.pub-pubmed a:hover {
	text-decoration: underline;
}

.journal-details {
	margin-top: 5px;
	color: #666;
	font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 768px) {
	.publication-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.publication-links {
		flex-direction: column;
	}
}

.success-message, .error-message {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px;
	border-radius: 5px;
	z-index: 1000;
	animation: fadeIn 0.5s, fadeOut 0.5s 2.5s;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.success-message {
	background-color: #4CAF50;
	color: white;
}

.error-message {
	background-color: #f44336;
	color: white;
}

@keyframes fadeIn {
	from {opacity: 0; transform: translateY(-20px);}
	to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeOut {
	from {opacity: 1; transform: translateY(0);}
	to {opacity: 0; transform: translateY(-20px);}
}

/* Modern License Management Styles */

/* Modern License Management Styles */

/* Container Styles */
.dashboard-section {
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin-bottom: 2rem;
}

.section-header {
	padding: 1.5rem;
	border-bottom: 1px solid #edf2f7;
}

.section-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #2d3748;
	margin: 0;
}

.section-content {
	padding: 1.5rem;
}

/* License Grid Layout - Changed to vertical layout */
.license-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* License Card Styles */
.license-card {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2rem;
}

.license-card:hover {
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.license-info {
	flex: 1;
	min-width: 200px;
}

.license-title {
	color: #2d3748;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.5rem 0;
}

.license-description {
	color: #718096;
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.5;
}

.license-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 200px;
}

/* Auto-Services Styling */
.auto-license {
	background-color: #f7fafc;
}

/* Status Indicators */
.status-indicator {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
}

.status-granted {
	background-color: #c6f6d5;
	color: #2f855a;
}

.status-pending {
	background-color: #feebc8;
	color: #c05621;
}

.status-not-granted {
	background-color: #fed7d7;
	color: #c53030;
}

/* Form Elements */
.document-section {
	background-color: #f7fafc;
	border-radius: 6px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.checkbox-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.checkbox-wrapper input[type="checkbox"] {
	margin-right: 0.5rem;
}

.file-upload {
	margin-top: 1rem;
}

.file-upload label {
	display: block;
	margin-bottom: 0.5rem;
	color: #4a5568;
}

.request-button {
	width: 100%;
	background-color: #0f4880;
	color: white;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.request-button:hover {
	background-color: #1a365d;
}

.request-button:disabled {
	background-color: #cbd5e0;
	cursor: not-allowed;
}

/* Manager Approval Note */
.manager-approval-note {
	display: flex;
	align-items: center;
	color: #4a5568;
	font-size: 0.875rem;
	padding: 0.5rem;
	background-color: #f7fafc;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.manager-approval-note::before {
	content: "ℹ️";
	margin-right: 0.5rem;
}

/* Table Styles */
.license-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.license-table th {
	background-color: #f7fafc;
	color: #4a5568;
	font-weight: 600;
	padding: 1rem;
	text-align: left;
	border-bottom: 2px solid #e2e8f0;
}

.license-table td {
	padding: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.license-table tr:last-child td {
	border-bottom: none;
}

/* Link Styles */
.document-section a {
	color: var(--mpl-primary);
	text-decoration: none;
}

.document-section a:hover {
	text-decoration: underline;
}

/* Upload Button Styling */
input[type="file"] {
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 0.5rem;
	width: 100%;
}

/* Empty State Message */
.empty-state {
	text-align: center;
	color: #718096;
	padding: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.license-card {
		flex-direction: column;
		align-items: stretch;
	}

	.license-info,
	.license-actions {
		width: 100%;
	}

	.section-content {
		padding: 1rem;
	}

	.license-table {
		display: block;
		overflow-x: auto;
	}
}

/* Spezifische Styles für die Permadm-Seite */
.permadm-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed; /* Wichtig für feste Spaltenbreiten */
}

.permadm-table th,
.permadm-table td {
	padding: 12px;
	text-align: left;
	border: 1px solid #dee2e6;
	vertical-align: middle;
}

/* Feste Spaltenbreiten */
.permadm-table th:nth-child(1),
.permadm-table td:nth-child(1) {  /* License */
	width: 34%;
}

.permadm-table th:nth-child(2),
.permadm-table td:nth-child(2) {  /* Status */
	width: 15%;
}

.permadm-table th:nth-child(3),
.permadm-table td:nth-child(3) {  /* Requested Date */
	width: 12%;
}

.permadm-table th:nth-child(4),
.permadm-table td:nth-child(4) {  /* TeamLeader Approval */
	width: 15%;
}

.permadm-table th:nth-child(5),
.permadm-table td:nth-child(5) {  /* Grant Permission */
	width: 12%;
}

.permadm-table th:nth-child(6),
.permadm-table td:nth-child(6) {  /* Granted Date */
	width: 12%;
}

/* Einheitliche Button-Container */
.grant-control {
	display: flex;
	justify-content: flex-start; /* Linksbündig statt zentriert */
	gap: 8px;
	width: 100%;
}

.button-group {
	display: flex;
	gap: 8px;
	justify-content: flex-start; /* Linksbündig statt zentriert */
}

/* Angepasste Button-Breiten */
.grant-button {
	min-width: 140px; /* Etwas schmaler */
	max-width: 140px; /* Feste maximale Breite */
	padding: 8px 12px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Status-Styles */
.status-label {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.9em;
	width: fit-content;
}

.auto-granted-text {
	display: block;
	text-align: left; /* Linksbündig statt zentriert */
	padding: 8px 0;
	color: #6c757d;
}

/* Container-Style */
.search-container {
	margin-bottom: 20px;
	padding: 20px;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Konsistente Schriftgrößen */
.permadm-table {
	font-size: 14px;
}

.user-header h4 {
	margin-bottom: 16px;
	font-size: 18px;
}

/* Einheitliche Datumsfeld-Breite */
.date-input {
	width: 100%;
	padding: 6px;
	border: 1px solid #ced4da;
	border-radius: 4px;
}

.pending-requests h3 {
	margin: 0 0 1rem 0;
	color: var(--mpl-primary)
}

/* Manager Approval Column */
.manager-approval {
	text-align: center;
}

.manager-approval.na {
	color: #9ca3af;
}

.manager-approval.pending {
	color: #f59e0b;
	font-weight: 500;
}

.manager-approval.approved {
	color: #10b981;
	font-weight: 500;
}

.status-denied {
	color: #dc2626;
	font-weight: 500;
}

.status-auto-granted {
	color: #059669;
	font-style: italic;
}

.approval-granted {
	color: #059669;
	font-weight: 500;
}

.approval-denied {
	color: #dc2626;
	font-weight: 500;
}

.approval-pending {
	color: #d97706;
	font-weight: 500;
}

.approval-auto {
	color: #6b7280;
	font-style: italic;
}

.action-select {
	padding: 6px;
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 120px;
}

.reactivate-btn {
	padding: 6px 12px;
	background: var(--mpl-primary);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.reactivate-btn:hover {
	background: var(--mpl-primary);
}

.deny-reason-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	z-index: 1000;
}

.deny-reason-modal textarea {
	width: 100%;
	min-height: 100px;
	margin: 10px 0;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.modal-buttons {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

/* Status Styles */
.status-label {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.9em;
	font-weight: 500;
}

.status-auto {
	background-color: #e8f5e9;
	color: #2e7d32;
}

.status-granted {
	background-color: #e3f2fd;
	color: var(--mpl-primary);
}

.status-not-requested {
	background-color: #f5f5f5;
	color: #757575;
}

.grant-checkbox {
	margin-right: 8px;
}

.grant-control {
	display: flex;
	align-items: center;
	gap: 8px;
}

.date-input {
	padding: 4px;
	border: 1px solid #dee2e6;
	border-radius: 4px;
}

.auto-granted-text {
	color: #2e7d32;
	font-style: italic;
}

.search-container {
	margin-bottom: 20px;
	padding: 15px;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	position: relative;
}

.search-input {
	width: 300px;
	padding: 8px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
}

.search-input:focus {
	outline: none;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.search-label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #495057;
}

.search-results {
	position: absolute;
	top: 100%;
	left: 15px;
	width: 300px;
	max-height: 300px;
	overflow-y: auto;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	z-index: 1000;
	display: none;
}

.search-result-item {
	padding: 8px 12px;
	cursor: pointer;
	border-bottom: 1px solid #f8f9fa;
}

.search-result-item:hover {
	background-color: #f8f9fa;
}

.search-result-item:last-child {
	border-bottom: none;
}

.highlight-row {
	animation: highlight 2s ease-out;
}

@keyframes highlight {
	0% { background-color: #fff3cd; }
	100% { background-color: transparent; }
}

.no-results {
	padding: 8px 12px;
	color: #dc3545;
	font-style: italic;
}

/* Department Label */
.department-label {
	font-size: 0.85em;
	color: #6c757d;
	margin-left: 8px;
}

.grant-button {
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	color: white;
	transition: background-color 0.2s;
}

.grant-button.grant {
	background-color: #4CAF50;  /* Grün */
}

.grant-button.grant:hover {
	background-color: #45a049;
}

.grant-button.revoke {
	background-color: #dc3545;  /* Rot */
}

.grant-button.revoke:hover {
	background-color: #c82333;
}

/* AUDIT HISTORY */

/* Audit History Styles */
.audit-table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0;
	font-size: 0.9rem;
}

.audit-table th,
.audit-table td {
	padding: 8px;
	border: 1px solid #dee2e6;
	vertical-align: middle;
}

.audit-table th {
	background-color: #f8f9fa;
	font-weight: 600;
	text-align: left;
}

/* Action Badges */
.action-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 500;
}

.action-insert {
	background-color: #d4edda;
	color: #155724;
}

.action-update {
	background-color: #fff3cd;
	color: #856404;
}

.action-delete {
	background-color: #f8d7da;
	color: #721c24;
}

/* Change Values */
.changes-cell {
	min-width: 200px;
}

.change-values {
	display: flex;
	align-items: center;
	gap: 8px;
}

.value-old {
	color: #dc3545;
	text-decoration: line-through;
	font-style: italic;
}

.value-new {
	color: #28a745;
	font-weight: 500;
}

.change-arrow {
	color: #6c757d;
	font-size: 0.8rem;
}

/* Contract Details */
.contract-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.detail-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: #495057;
}

.detail-item i {
	width: 16px;
	color: #6c757d;
}

/* Date/Time Display */
.date-time {
	white-space: nowrap;
	color: #495057;
}

/* Section Header */
.section-header {
	cursor: pointer;
	padding: 8px 12px;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	border-radius: 4px;
}

.section-header i {
	margin-right: 8px;
	transition: transform 0.3s ease;
}

.section-header.active i {
	transform: rotate(90deg);
}

/* Hover Effects */
.audit-table tbody tr:hover {
	background-color: #f8f9fa;
}

.detail-item:hover {
	color: #0d3d6b;
}

.detail-item:hover i {
	color: #0d3d6b;
}

.detail-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	border-radius: 4px;
	margin: 2px 0;
	transition: background-color 0.2s;
}

.detail-item.changed {
	background-color: #fff3cd;
	border-left: 3px solid #ffc107;
}

.detail-item i {
	width: 16px;
	color: #6c757d;
}

.detail-item.changed i {
	color: #856404;
}

.date-range {
	display: flex;
	align-items: center;
	gap: 6px;
}

.date-range.changed {
	background-color: #d4edda;
	padding: 4px 8px;
	border-radius: 4px;
	border-left: 3px solid #28a745;
}

.hours-change {
	background-color: #cce5ff;
	padding: 4px 8px;
	border-radius: 4px;
	border-left: 3px solid #0d6efd;
}

.department-change {
	background-color: #f8d7da;
	padding: 4px 8px;
	border-radius: 4px;
	border-left: 3px solid #dc3545;
}

.contract-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Verbesserte Link-Formatierung für Tabellen und Detailansichten */
.supplier-table a,
.data-table a,
.info-value a {
	color: #00698C;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.supplier-table a:hover,
.data-table a:hover,
.info-value a:hover {
	color: var(--mpl-secondary);
	text-decoration: underline;
}

/* Icon-Abstand in Links verbessern */
.supplier-table a i,
.data-table a i,
.info-value a i {
	margin-left: 5px;
}

/* Website-Links speziell formatieren */
a[href^="http"] {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Email-Links speziell formatieren */
a[href^="mailto"] {
	font-weight: 500;
}

/* Aktion-Buttons besser abständen */
.btn-sm {
	margin-right: 5px;
	margin-bottom: 5px;
}

/* Verbesserte Tab-Links */
.tab-link {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tab-link i {
	font-size: 14px;
}

/* Button-Styling verbessern */
.btn-primary,
.btn-success,
.btn-danger {
	color: #ffffff !important; /* Textfarbe auf Weiß erzwingen */
	font-weight: 500; /* Etwas dickere Schrift für bessere Lesbarkeit */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px; /* Abstand zwischen Icon und Text */
}

/* Secondary Button braucht dunklen Text auf hellem Hintergrund */
.btn-secondary {
	color: var(--mpl-primary) !important;
	background: #ffffff !important;
	border: 2px solid #e5e7eb !important;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.btn-secondary:hover {
	border-color: var(--mpl-primary) !important;
	background: #f9fafb !important;
}

/* Allgemeine Button-Klassen von globalen Styles ausnehmen */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger {
	width: auto !important;
	margin-top: 0 !important;
	height: 42px !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
	font-family: 'Poppins', sans-serif !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	line-height: 1.4 !important;
	vertical-align: middle !important;
}

/* Buttons in Formularen gleiche Höhe wie Links */
form .btn,
form button.btn {
	height: 42px !important;
}

/* Page Actions Container - Buttons ausrichten */
.page-actions {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

.page-actions form {
	display: inline-flex !important;
	margin: 0 !important;
}

.page-actions .btn {
	margin: 0 !important;
}

/* Speziell für die "Details" und "Bearbeiten" Buttons */
[class*="btn-"] i {
	margin-right: 4px;
}

/* Kontrast für spezifische Buttons verbessern */
.btn-primary {
	background-color: var(--mpl-primary);
	border-color: var(--mpl-primary);
}

.btn-success {
	background-color: #059669 !important;
	border-color: #059669 !important;
	color: #ffffff !important; /* Weiße Textfarbe auf grünem Hintergrund */
}

/* Hover-Zustände mit ausreichendem Kontrast */
.btn-primary:hover {
	background-color: var(--mpl-primary-dark);
	border-color: var(--mpl-primary-dark);
}

.btn-success:hover {
	background-color: #047857 !important;
	border-color: #047857 !important;
	color: #ffffff !important;
}

/* Verbesserter Text-Schatten für bessere Lesbarkeit auf hellen Hintergründen */
.btn-success {
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}