* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background-color:#e0e0e0;
    margin: 0 auto;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

table {
	width:80%;
	margin:0 auto;
	padding:10px;
	font-weight:bold;
}

.main {
	overflow:hidden;
	background-color:#ffffff;
	width:500px;
	height:auto;
	margin:50px auto; 
	border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
 }
	
.head {
  width: 100%;
  max-width: 1200px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  background: linear-gradient(135deg, #0a1940, #1e3a8a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;              /* Wichtig: Flex-Container für Icon + Text */
  align-items: center;        /* Zentriert vertikal */
  gap: 10px;                  /* Abstand zwischen Icon und Text */
  width: auto;
  max-width: 350px;
  height: auto;
  font-family: arial;
  font-size: 1.5em;
  overflow: hidden;
  position: relative;
  padding-left:5px;	
  /* margin entfernen, falls vorhanden */
}

/* Icon Styling bleibt weitgehend gleich, aber sicherstellen, dass es flex-kompatibel ist */
.logo .icons {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;     /* Hilft bei der vertikalen Zentrierung */
  justify-content: center;
  align-items: center;
  vertical-align: middle;   /* Fallback für Text-Alignment */
  color:#fff;
}

/* Text Styling */
.LogoText {
  color: #fff;
  margin: 0;
  margin-left: 0;           /* margin-left war überflüssig, da gap in .logo */
  margin-bottom: 0;         /* Entfernt den Versatz nach unten */
  vertical-align: middle;
  line-height: 1.5;         /* Passen Sie dies an font-size an, falls nötig */
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00a0c8;
    border-radius: 2px;
}


.login {
	width:470px;
	height:170px;
	padding:15px;
	padding-top:0;
	color:#555555;
	font-family:arial;
	font-size:12px;
	margin-top:10px;
}

.login td {
	color:#555555;
	font-family:arial;
	font-size:12px;
}

.tail {
	height:63px;
}


/* Responsive Adjustments */
@media (max-width: 480px) {
    form {
        padding: 0.75rem;
        margin: 0.5rem;
    }
    
    legend {
        font-size: 1.1rem;
    }
    
    input, select {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 320px) {
    form {
        padding: 0.5rem;
    }
    
    legend {
        font-size: 1rem;
    }
    
    input, select {
        font-size: 0.9rem;
    }
    
    button[type="submit"] {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch-Friendly Elements */
input, select, button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

label {
	font-size:0.9em;
	font-weight:normal;
}

input, select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
    width: 100%;
    min-height: 44px;
}

input[type="submit"] {
    width: 80%;
    padding: 1rem;
    background-color: #05164d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 0 auto;
    min-height: 50px;
}


