/* Einfaches, modernes Layout */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
	font-size:16px;
    background-color: #121212;
    color: #e0e0e0;
    overflow-y: scroll;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-weight:500;	
	letter-spacing:1px;
	color:#cccccc;
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }

small { font-size:70%; }

/* Links */
a {
    color: #1b74da;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #666666;
}

header {
	background-color: #1f1f1f;
    border-bottom: 1px solid #333333;
    height: 60px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; 
    box-sizing: border-box; 
}

@media only screen and (max-width: 768px) {
	header {
    	padding: 0 15px; 
	}
}

header #site_logo, header #site_logo .logo {
	height: 40px;
	display:block;
}

header #site_logo_mobile, header #site_logo_mobile .logo {
	display:none;
}

@media only screen and (max-width: 768px) {
	header #site_logo, header #site_logo .logo {
		display:none;
	}
	
	header #site_logo_mobile, header #site_logo_mobile .logo {
		height: 40px;
		display:block;
	
	}
}

header nav {  
    height: 100%;     
}

header nav ul {
    display: flex;      
    list-style: none; 
    flex-direction: row;
    margin: 0 30px 0 0;             
    padding: 0;
    height: 100%;         
}

header nav li {      
    align-items: center;  
    justify-content: center;
	align-content: center;
    height: 100%;     
	list-style:none;
	padding: 0 35px;
    color: #e0e0e0;
    font-size: 16px;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
	header nav ul {
		margin: 0;
	}
		
	header nav li {  
    	font-size: 15px;
		padding: 0 15px;
	}
}

header nav li:hover {
    background-color: #333333;
    color:#999999;
}

header nav li.active {
    background-color: #333333;
    color:#999999;
}

main {
    padding: 20px;
    margin: 0 auto;
}

footer {
	position:relative;
    text-align: center;
	width:100%;
    margin-top: 50px;
    font-size: 12px;
    color: #888888;
    background-color: #1f1f1f;
    padding: 10px 0;
}

footer a {
    text-decoration: none;
    color: #76c7c0;
}

footer a:hover {
    color: #9ee1d8;
}

table { 
    margin: 20px auto;
    border-collapse: collapse;
    width: 95vw;	
    table-layout: fixed;
    background-color: #222;
    color: #e0e0e0;
    box-shadow: 6px 6px 0 rgba(125, 125, 125, 0.3);	
	font-size:0.85em;
}

table th, table td {   
    padding: 5px 5px;
    border: 1px solid #333;
    text-align: center;
    word-wrap: break-word;
    white-space: normal; 	
	height:30px;
}

table th {
    padding: 20px 5px;
    background-color: #121212;
    font-weight: bold;
}

table input, table select {
    background-color: #666666;
    color: #e0e0e0;
	border:0px;
	margin-top:5px;
    max-width: 100%; 
    box-sizing: border-box;
    width: 90%;
	font-size:0.9em;
}

table button{
    background-color: #666666;
    color: #e0e0e0;
	border:0px;
	margin-top:5px;
    max-width: 100%; 
    box-sizing: border-box;
    width: 90%;
	font-size:0.9em;
}

table input::placeholder {
    color: #e0e0e0;
}

table .filter_input {
	min-height:20px;
}

tfoot tr, tfoot tr td { 
	padding: 10px;
	background-color:#121212;		
    border: 1px solid #333333;
}

table .highlight {
	color:lightyellow;	
}

table .options i {
	margin: 0 5px;	
	font-size:16px;
}

table span.options i {
	margin: 5px 10px;
	font-size: 13px;
}

table tbody tr.breakingline {
    background-color: #121212;
}

table tbody .breakingline td {
	padding-top: 35px;
	padding-bottom: 10px;
	padding-left: 35px;
	font-size: 1.3em;
	color:#999999;
	letter-spacing: 1px;
	text-align: left;
}

table tbody tr.breakingline:hover {
    background-color: none;
}

table tbody tr:hover {
    background-color: #121212;
}

table tbody tr.clickable:hover {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
		background-color: transparent;
		font-size:1em;
		box-sizing: border-box;
		width:100%;
    	box-shadow: none;	
    }
    table thead tr {
        display: none; /* Header ausblenden */
    }
    table tr {
        margin-bottom: 1.5rem;
		background-color: #222;
    	color: #e0e0e0;
		border: 1px solid #333;
    	box-shadow: 6px 6px 0 rgba(125, 125, 125, 0.3);
    }
    table td {
        display: flex;
        justify-content: space-between;
        text-align:right;
        padding: 8px;
		height:auto;
    }
    table td:before {
        content: attr(data-label); /* Fügt den Spaltennamen als Label hinzu */
        font-weight: bold;
        width: 30%;
        text-align: left;
		padding-right:20px;
    }
	table tfoot {
		display: block;
		width:100%;
	}
	table tfoot tr td {
		padding:8px;
		text-align:center;
	}
	table tfoot tr td:before {
		display:none;
	}
	table tfoot tr td button {
		width:100%;
	}
	table .hide_on_mobile {
    	display: none;
	}
}

.error {
    background: #fdd;
    color: #900;
    padding: 10px;
    margin-bottom: 10px;
}

.success {
    background: #dfd;
    color: #090;
    padding: 10px;
    margin-bottom: 10px;
}

.info {
    background: #ddf;
    color: #006;
    padding: 10px;
    margin-bottom: 10px;
}

/* Formulare */
input, button, select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #cccccc;
    color: #1f1f1f;
    transition: all 0.3s ease;
	min-height:35px;
}

select option {
    color: #1f1f1f;
}

input[type="date"] {
	min-width:120px;
	width:120px;
}

input:disabled {
	background-color: #999;
}

#login-2fa-container {
  display: flex;
  gap: 10px;
}

#login-2fa-container .login-2fa-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#login-2fa-container .login-2fa-input:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

/* Entfernt die Pfeile bei [type="number"] */
#login-2fa-container input[type="number"]::-webkit-inner-spin-button, #login-2fa-container
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#login-2fa-container input[type="number"] {
    -moz-appearance: textfield; /* Für Firefox */
}

.copy-to-clipboard {
	color: rgba(255,255,255,0.50);
}

.copy-to-clipboard:hover {
	color: rgba(255,255,255,0.70);
}

button, a.button {
	cursor: pointer;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #cccccc;
    color: #1f1f1f;
    transition: all 0.3s ease;
	width:80%;
	max-width:300px;
}

button:disabled {
  cursor: not-allowed; 
  opacity: 0.8;  
  background-color: #999;
  color: #666;   
  border: 1px solid #666; 
}

button:disabled:hover {
    background-color: #cccccc;
    color: #666;
}

input:focus, button:hover {
    background-color: #1b5e20;
	color:#ffffff;
}

.input-error {
  border: 2px solid red; 
}

.checkbox-container {
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.checkbox-container input[type="checkbox"] {
	width:25px;
	height: 25px;
	float: left;
}

.checkbox-container label, .form_container .checkbox-container label {
    margin: 0;
}

.statustag {
	padding: 5px 10px;
	margin-left:25px;
	border-radius:999px;
	font-size:0.6em;
	font-weight:400;
	color:#fff;
}

.status_active {
	background-color:darkgreen;
}

.status_archived {
	background-color:darkblue;
}

.form_container {
	padding:25px;
    background: #222;
    color: #e0e0e0;
    border: 1px solid #333;
    box-shadow: 6px 6px 0 rgba(125, 125, 125, 0.3);	
}

.form_container_small {
	max-width: 300px;	
}

.form_container h1, .form_container h2 {
    margin-top: 0;
}

.form_container label {
    display: block;
    margin: 10px 0 5px 0;
}

.form_container input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.form_container button {
	margin-top:15px;
	width:100%;
	min-height:40px;
}

.form_container input, .form_container select {
	width:100%;
	margin-bottom:10px;
}

.form_container input[type="time"], .form_container input[type="number"] {
	width:25%;
}

.form_container_center {
    margin: 0 auto;	
}

.form_container .error {
    color:orange;
	text-align:center;
	background: rgba(125, 125, 125, 0.3);
}

.form_container success {
    color:lightgreen;
	text-align:center;
	background: rgba(125, 125, 125, 0.3);	
}

    #strength_indicator {
		padding:4px;
		width:100%;
		color:#fff;
		font-size:0.9em;
		text-align:center;
    	box-sizing: border-box;
    }

    .strength-default {
        background-color: gray;
    }

    .strength-invalid {
        background-color: red;
    }

    .strength-weak {
        background-color: red;
    }

    .strength-medium {
        background-color: orange;
    }

    .strength-strong {
        background-color: green;
    }

/* Margins */

.mb1 { margin-bottom:10px; }
.mb2 { margin-bottom:20px; }
.mb3 { margin-bottom:30px; }
.mb4 { margin-bottom:40px; }
.mb5 { margin-bottom:50px; }
.mb10 { margin-bottom:100px; }
.mt1 { margin-top:10px; }
.mt2 { margin-top:20px; }
.mt3 { margin-top:30px; }
.mt4 { margin-top:40px; }
.mt5 { margin-top:50px; }
.mt10 { margin-top:100px; }



