body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
}

header {
    background-color: #2c2c2c;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 30px;
}

.nav-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2, h3 {
    color: #333;
}

.container h2,
.container h3 {
    color: #333;
}

/* Speziell: H2-Überschriften in dunklen Boxen weiß machen */
.box h2,
.login-box h2 {
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 8px 10px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #2c2c2c;
    color: white;
}

.btn {
    background-color: #c1002a;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px;
}

.btn:hover {
    background-color: #a00022;
}

input[type="text"] {
    padding: 6px;
    width: 180px;
}

.active, .success {
    color: green;
    font-weight: bold;
}

.inactive, .error {
    color: red;
    font-weight: bold;
}

.warning {
    color: orange;
    font-weight: bold;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: #555;
    font-size: 0.9em;
    padding: 15px 0;
    border-top: 1px solid #ccc;
    background-color: #f1f1f1;
    position: relative;
}

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

footer a:hover {
    text-decoration: underline;
}

/* Styles für Login-Seite */
.login-box {
    background-color: #333;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    margin: auto;
    margin-top: 100px;
}

.login-box img {
    height: 60px;
    margin-bottom: 20px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
}

.login-box button {
    background-color: #c1002a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #a00022;
}

.login-box .error {
    color: #ffaaaa;
    margin-bottom: 10px;
}

/* Button-Style für Login-Icon */
.login-icon {
    display: inline-block;
    background-color: #c1002a;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

h3.gateway-title {
    color: white;
    text-align: center;
    margin-bottom: 10px;
}

/* Box für 2FA */
.box {
    background-color: #333;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    width: 350px;
    margin: 80px auto 40px auto;
}

.box input[type="text"] {
    padding: 10px;
    width: 100px;
    text-align: center;
}

button[disabled] {
    background-color: grey;
    cursor: not-allowed;
}

.info {
    color: #aaffaa;
}

#timer {
    font-weight: bold;
    margin: 10px 0;
}
button {
    background-color: #c1002a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

button:hover {
    background-color: #a00022;
}

button[disabled] {
    background-color: grey;
    cursor: not-allowed;
}
