html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.app-shell {
    display: flex;
    min-height: 100vh;
    font-family: system-ui,Segoe UI,Arial;
}

.sidebar {
    width: 240px;
    background: #111827;
    color: #fff;
    padding: 16px;
}

    .sidebar .brand {
        font-weight: 700;
        margin-bottom: 18px;
    }

    .sidebar a {
        color: #fff;
        text-decoration: none;
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
    }

        .sidebar a:hover {
            background: rgba(255,255,255,.08);
        }

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
}

.topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

    .topbar .logo {
        height: 28px;
    }

.content {
    padding: 18px;
}
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    max-width: 520px;
}

.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

input {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

button {
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
/* Logo in der Sidebar IMMER klein halten – auch wenn andere CSS Regeln dagegen arbeiten */
aside.sidebar .sidebar-header {
    background: #000;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

    aside.sidebar .sidebar-header .sidebar-logo-wrap {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 8px;
    }

    aside.sidebar .sidebar-header img.sidebar-logo {
        display: block !important;
        height: 34px !important; /* <<< HIER Größe steuern */
        width: auto !important;
        max-width: 100% !important; /* nie breiter als der Balken */
        object-fit: contain !important;
    }

    /* Text */
    aside.sidebar .sidebar-header .sidebar-title .title {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.1;
    }

    aside.sidebar .sidebar-header .sidebar-title .subtitle {
        color: #fff;
        font-size: 12px;
        opacity: .7;
        line-height: 1.1;
    }
.motor-row {
    background: #ededed;
    border-top: 2px solid #d0d0d0;
}
