* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #435165;
}
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
	font-family: Quicksand;
	font-weight:bold ;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #d83010;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
	font-family: Quicksand;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #d83010;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #b5220b;
  	transition: background-color 0.2s;
}
.navtop {
	background-color: #d83010;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 100%;
	
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	padding-left: 15px;
	padding-right: 20px;
	font-size: 24px;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 80%;
	margin: 0 auto;
}
.content h2 {
	margin: 0;
	padding-top: 10px;
	padding-bottom: 5px;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}

.content > p, .content > div, .content > form  {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 10px 0;
	padding: 25px;
	background-color: #fff;
	word-wrap: break-word;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
.content img{
  float: right;
  margin-top: -15px;
  max-height: 135px;
}
.content_filter {
	width: 80%;
	margin: 0 auto;
}
.content_filter h2 {
	margin: 0;
	padding-top: 10px;
	padding-bottom: 5px;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}

.content_filter > p, .content_filter > div, .content_filter > form  {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 10px 0;
	padding: 25px;
	background-color: #fff;
	word-wrap: break-word;
}
.content_filter > p table td, .content_filter > div table td {
	padding: 5px;
}
.content_filter > p table td:first-child, .content_filter > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content_filter > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
.content_filter img{

  margin-top: -15px;
  max-height: 135px;
}
.services {
	padding-top: 5px;
	float: left;
	padding-left: 2px;
}
.services img{
	padding-left: 2px;
	float: left !important;
	padding-top: 2px;
}
.contentoverview {
	width: 80%;
	margin: 0 auto;
}
.contentoverview h2 {
	margin: 0;
	padding-top: 10px;
	padding-bottom: 5px;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.contentoverview img {
	margin: 0;
	float: right;
	height: 18px;
}
.contentoverview > p, .contentoverview > div, .contentoverview > form  {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 10px 0;
	padding: 25px;
	background-color: #fff;
	width: 230px;
	float: left;
	font-size: 14px;
}
.contentoverview > p table td, .contentoverview > div table td {
	padding: 5px;
}
.contentoverview > p table td:first-child, .contentoverview > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.contentoverview > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
/* Tabs mit radio-Buttons */
.tabbed figure { 
   display: block; 
   margin-left: 0; 
   border-bottom: 1px solid silver;
   clear: both;
}

.tabbed > input,
.tabbed figure > div { display: none; }

.tabbed figure>div {
  padding: 20px;
  width: 100%;
  border: 1px solid silver;
  background: #fff;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: #444;
}
#tab1:checked ~ figure .tab1,
#tab2:checked ~ figure .tab2,
#tab3:checked ~ figure .tab3,
#tab4:checked ~ figure .tab4 { display: block; }

nav label {
   float: left;
   padding: 15px 15px;
   border-top: 1px solid silver;
   border-right: 1px solid silver;
   background: hsl(210,50%,50%);
   color: #eee;
}

nav label:nth-child(1) { border-left: 1px solid silver; }
nav label:hover { background: hsl(210,50%,40%); }
nav label:active { background: #ffffff; }

#tab1:checked ~ nav label[for="tab1"],
#tab2:checked ~ nav label[for="tab2"],
#tab3:checked ~ nav label[for="tab3"],
#tab4:checked ~ nav label[for="tab4"] {
  background: white;
  color: #111;
  position: relative;
  border-bottom: none;
}

#tab1:checked ~ nav label[for="tab1"]:after,
#tab2:checked ~ nav label[for="tab2"]:after,
#tab3:checked ~ nav label[for="tab3"]:after,
#tab4:checked ~ nav label[for="tab4"]:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  left: 0;
  bottom: -1px;
}
form {
	display: inline;
}

.box td img{
	vertical-align: middle;
}

.faxbox {
	vertical-align: middle;
	float: left;
	width: 33%;
	margin-right: 5px !important;
	min-height: 550px;
}

th, td {
	padding-right: 30px;
	font-family: Quicksand;
	font-weight:normal;
	font-style:normal;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 0px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Menu Styles  */
nav {
    font-family: monospace;
}

ul {

    list-style: none;
    margin: 0;
    padding-left: 0;
}

li {
    color: #fff;
  background: #d83010;
    display: block;
    float: left;
    padding: 1rem;
    position: relative;
    text-decoration: none;

}
  
li a {
  color: #fff;
}

li:hover,
li:focus-within {
    background: red;
    cursor: pointer;
}

li:focus-within a {
  outline: none;
}

ul li ul {
    background: #d83010;
    visibility: hidden;
  opacity: 0;
  min-width: 5rem;
    position: absolute;
  transition: all 0.5s ease;
  margin-top: 1rem;
    left: 0;
  display: none;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
   visibility: visible;
   opacity: 1;
   display: block;
}

ul li ul li {
    clear: both;
  width: 100%;
}
/* Menu Styles  */
#contentpopup {
	background: darkred !important;
	color: white;
	font-size: 20px;

}
#contentpopup p{
	font-size: 20px;
}
#contentpopup2{
	font-size: 20px;
}
#countdown{
	font-size: 20px;
	margin-top:6px;
}

/* Collapsible Log files  */
.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 6px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.active, .collapsible:hover {
  background-color: #555;
}

.collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.contentcop {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

.blocked {
	background-color:#cccccc !important;
}


#evaboxResults {
	width: 100%;
	margin: 0 auto;
}
#evaboxResults h2 {
	margin: 0;
	padding-top: 10px;
	padding-bottom: 5px;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
#evaboxResults img {
	margin: 0;
	float: right;
	height: 18px;
}
#evaboxResults > p, #evaboxResults > div, #evaboxResults > form  {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 10px 0;
	padding: 25px;
	background-color: #fff;
	
	float: left;
	font-size: 14px;
}
#evaboxResults > p table td, #evaboxResults > div table td {
	padding: 5px;
}
#evaboxResults > p table td:first-child, #evaboxResults > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
#evaboxResults > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
#newEvaboxBtn {
	float: right;
}

/* === BACKUP SECTION FIX === */

/* === Backups: UL/LIs komplett neu setzen === */
.section-backups {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;              /* verhindert Überlappen */
}

/* UL-Reset (falls global z.B. Flex/Grid/Spalten aktiv sind) */
.section-backups ul {
  display: block !important;     /* kein flex/grid */
  list-style: none !important;   /* keine Punkte */
  padding: 0 !important;         /* Standard-Einzug raus */
  margin: 0 !important;          /* Außenabstände neutral */
  gap: 0 !important;             /* falls global gesetzt */
  column-count: auto !important; /* Spaltenlayout aus */
  column-gap: 0 !important;
  text-align: left !important;   /* kein zentriertes Menü-Erbe */
}

/* LI-Reset */
.section-backups li {
  display: block !important;     /* untereinander */
  float: none !important;        /* evtl. Menü-Floats killen */
  width: 100% !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-sizing: border-box;
}

/* Link stil: volle Breite + Umbruch */
.section-backups a {
  display: block;
  max-width: 100%;
  text-decoration: none;
  color: #007bff;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  overflow-wrap: anywhere;       /* lange Dateinamen umbrechen */
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.section-backups a:hover {
  background: #eaf2ff;
  border-color: #007bff;
  color: #007bff;
}

/* Optional: kleines Download-Icon vorm Eintrag */
.section-backups a::before {
  content: "\f019"; /* Font Awesome 'download' */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #007bff;
}

/* overview: evabox rendering */
#evaboxResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.evabox-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evabox-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.evabox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.evabox-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.evabox-body p {
  margin: 0.2rem 0;
  color: #333;
  font-size: 0.9rem;
}

.evabox-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.evabox-link:hover {
  text-decoration: underline;
}


/* overview: evabox rendering status pins */
.evabox-services {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Statusfarben */
.service-badge.on {
  background-color: #28a745; /* grün */
}

.service-badge.off {
  background-color: #dc3545; /* rot */
}

.service-badge.deac {
  background-color: #6c757d; /* grau */
}

.service-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
/* overview: evabox rendering ampel */
.status-indicator {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 4px 8px;
}

.status-indicator .light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.status-indicator .green  { background-color: #28a745; }
.status-indicator .yellow { background-color: #ffc107; }
.status-indicator .red    { background-color: #dc3545; }

.status-indicator .active {
  opacity: 1;
  box-shadow: 0 0 6px currentColor;
  transform: scale(1.1);
}

/* overview: evabox sort buttons */
.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.sort-buttons a {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.sort-buttons a:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.sort-buttons a:active {
  transform: translateY(0);
  box-shadow: none;
}
