/* /var/www/webinterface/css/style.css */

/* Standard für Login & kleine Boxen */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* AUSNAHME: Für vollflächige Seiten wie die Userverwaltung */
body.full-width-page {
    display: block;
    height: auto;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.login-container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
}

h2 {
    margin-top: 0;
    color: #00a8ff;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #aaaaaa;
}

/* Fix für einheitliche Breite aller Inputs */
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #fff;
    box-sizing: border-box;
}

input:focus {
    border-color: #00a8ff;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #00a8ff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 15px;
}

button:hover {
    background-color: #0086cc;
}

.error-msg, .success-msg {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.error-msg { background-color: #ff3333; color: white; }
.success-msg { background-color: #2ed573; color: white; }

.form-footer {
    text-align: center;
}

.form-footer a {
    color: #00a8ff;
    text-decoration: none;
    font-size: 14px;
}

.form-footer a:hover {
    text-decoration: underline;
}