/* ======== PORTAL DESIGN ======== */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f7;
    color: #333;
}

/* --------------------------
   Sidebar
--------------------------- */
.sidebar {
    width: 240px;
    height: 100vh;
    background: #1f2937;
    padding-top: 20px;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
}

.logo-box {
    text-align: center;
    padding: 20px 10px;
}

.logo {
    width: 130px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

.sidebar h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 16px;
}

.sidebar a:hover {
    background: #374151;
}

.sidebar .copyright {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ccc;
    font-size: 13px;
    opacity: 0.9;
}


/* --------------------------
   Main content
--------------------------- */
.main {
    margin-left: 240px;
    padding: 30px;
}

h1 {
    margin-top: 0;
    font-size: 28px;
}

/* Cards */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #1f2937;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 5px;
}

.btn:hover {
    background: #111827;
}

/* --------------------------
   Login Screen
--------------------------- */
.login-container {
    width: 350px;
    margin: 80px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

.login-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.login-container button {
    width: 100%;
    padding: 12px;
    background: #1f2937;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.login-container button:hover {
    background: #111827;
}

/* --------------------------
   Fahrzeug-Badges
--------------------------- */
.vehicle-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    color: #374151;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

.vehicle-badge span {
    padding: 0 6px;
    border-right: 1px solid #e5e7eb;
}

.vehicle-badge span:last-child {
    border-right: none;
}
/* ---------- COPYRIGHT ---------- */
.sidebar .copyright {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ccc;
    font-size: 12px;
    opacity: 0.9;
    padding: 5px 0;
    line-height: 1.4;
}
