body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #f4f6f8; color: #333; max-width: 900px; margin: 40px auto; padding: 20px; }
        .container {
            background-color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); margin-bottom: 30px;
        }
        h1, h2 { margin-bottom: 15px; }
        h1 { overflow-wrap: anywhere; }
        .status {
            font-size: 18px; font-weight: bold; padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center;
        }
        .status.available { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
        .status.empty { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
        .info-box {
            background-color: #e2e3e5; padding: 15px; border-left: 4px solid #6c757d; margin-bottom: 20px; font-size: 14px;
        }
        label { display: block; margin-bottom: 8px; font-weight: bold; }
        input[type="text"], input[type="date"] {
            width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 16px;
        }
        
        /* Dropdown Styles für die Suche */
        .autocomplete-wrapper { position: relative; }
        .autocomplete-results { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #ccc; border-top: none; z-index: 1000; border-radius: 0 0 4px 4px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: none; max-height: 200px; overflow-y: auto; }
        .autocomplete-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
        .autocomplete-item:hover { background-color: #f8f9fa; }
        .autocomplete-item small { color: #6c757d; display: block; }

        button {
            width: 100%; padding: 12px; background-color: #007bff; color: white; border: none; border-radius: 4px; font-size: 16px; cursor: pointer;
        }
        button:hover { background-color: #0056b3; }
        button:disabled { background-color: #cccccc; cursor: not-allowed; }
        .flash-messages { margin-bottom: 20px; }
        .alert { padding: 15px; border-radius: 4px; margin-bottom: 10px; }
        .alert.success { background-color: #d4edda; color: #155724; }
        .alert.error { background-color: #f8d7da; color: #721c24; }
        table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 14px; }
        th, td { text-align: left; padding: 12px; border-bottom: 1px solid #ddd; }
        th { background-color: #f8f9fa; }
        tr:hover { background-color: #f1f1f1; }
        .badge { padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: bold; }
        .badge.reserviert { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
        .badge.ausgegeben { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.empty-list { color: #6c757d; font-style: italic; }
.module-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.portal-bar { display: flex; align-items: start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.portal-bar .module-nav { margin-bottom: 0; }
.logout-button { width: auto; padding: 12px 16px; background: #495057; }
.logout-button:hover { background: #343a40; }
.login-container { max-width: 480px; margin-left: auto; margin-right: auto; }
.oidc-login-button { display: block; width: 100%; box-sizing: border-box; padding: 12px; margin-bottom: 20px; background: #007bff; color: white; border-radius: 4px; font-size: 16px; text-align: center; text-decoration: none; }
.oidc-login-button:hover { background: #0056b3; }
.oidc-login-button:focus-visible { outline: 3px solid #0056b3; outline-offset: 3px; }
.login-container input { width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 16px; }
.module-nav a { color: #0056b3; background: white; padding: 12px 16px; border-radius: 6px; text-decoration: none; }
.module-nav a[aria-current="page"] { background: #0056b3; color: white; font-weight: bold; }
.module-nav a:focus-visible { outline: 3px solid #0056b3; outline-offset: 3px; }
.pool-counts { padding-left: 20px; margin-bottom: 24px; }
button.autocomplete-item { background: white; color: #333; border: 0; border-bottom: 1px solid #eee; border-radius: 0; text-align: left; width: 100%; }
button.autocomplete-item:hover { background: #f1f1f1; }
        .table-wrapper { overflow-x: auto; }
        .status.unavailable { background: #fff3cd; color: #664d03; border: 1px solid #ffecb5; }
        .autocomplete-item:focus { outline: 3px solid #0056b3; outline-offset: -3px; }
        @media (max-width: 600px) { body { margin: 0 auto; padding: 12px; } .container { padding: 18px; } th, td { padding: 8px; } }
