/* ----------------------------------------------------------
   GLOBAL
---------------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

/* ----------------------------------------------------------
   NAVIGATION (modern & fixiert)
---------------------------------------------------------- */

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #25256b; /* EVOSYS Blau */
    color: white;
    display: flex;
    align-items: center;
    padding: 0 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.topnav .logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.topnav .nav-links a,
.topnav .nav-right a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    transition: 0.2s;
}

.topnav a:hover {
    background: #da2f78; /* Teacher Pink */
}

.topnav .logout {
    background: #da2f78;
    font-weight: bold;
}

/* ----------------------------------------------------------
   CONTAINER (Dashboard)
---------------------------------------------------------- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 40px auto; /* Abstand unter Menü */
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ----------------------------------------------------------
   TABELLEN
---------------------------------------------------------- */

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table th {
    background: #ecf0f1;
    text-align: left;
}

/* ----------------------------------------------------------
   BUTTONS
---------------------------------------------------------- */

button, .btn {
    background: #0073e6;
    color: white;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

button:hover, .btn:hover {
    background: #005bb5;
}

/* ----------------------------------------------------------
   FORMULARE
---------------------------------------------------------- */

input[type=text], input[type=password], input[type=email], select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   LOGIN (unverändert gelassen!)
---------------------------------------------------------- */

.login-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background:
        linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)),
        url('../img/deutschkurse.jpg') center/cover no-repeat;
}

.login-logo-top {
    margin-bottom: 12px;
}

.login-logo-top img {
    max-width: 150px;
    height: auto;
}

.login-box {
    width: 420px;
    padding: 25px 30px;
    border: 1px solid #ddd;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.form-row label {
    width: 120px;
    font-size: 14px;
    font-weight: bold;
    color: #25256b;
}

.form-row input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #999;
    background: #fff;
    font-size: 14px;
    border-radius: 0;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background: #da2f78;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0;
    margin-top: 10px;
}

.login-box button:hover {
    background: #c0266a;
}

.error-box {
    background: #ffe5e5;
    border: 1px solid #ffb3b3;
    padding: 8px;
    margin-bottom: 15px;
    color: #b30000;
    font-size: 13px;
}
