/* Tab Navigation */ .tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; } .tab-btn { background: #eee; border: none; padding: 0.7rem 2rem; font-size: 1.1rem; border-radius: 6px 6px 0 0; cursor: pointer; color: #333; font-weight: 500; transition: background 0.2s, color 0.2s; } .tab-btn.active { background: #007bff; color: #fff; font-weight: bold; box-shadow: 0 2px 8px rgba(0,0,0,0.10); } #tabUser { margin-left: 50px; } /* Modal Fehlerfenster */ .custom-modal-popup { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 9999; } .custom-modal-box { background: #fff; padding: 3rem; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); text-align: center; min-width: 350px; max-width: 90vw; } .custom-modal-msg { margin-bottom: 2rem; font-size: 1.5rem; color: red; } .custom-modal-btn { padding: 0.8rem 2.5rem; font-size: 1.1rem; background: #007bff; color: #fff; border: none; border-radius: 6px; cursor: pointer; } body { font-family: system-ui, sans-serif; padding: 20px; max-width: 800px; margin: auto; } input, button { font-size: 1rem; padding: 8px; margin: 2px; } .card { border: 1px solid #ddd; padding: 12px; border-radius: 8px; margin-bottom: 12px; } #result { margin-top: 10px; } .controls { margin-bottom: 8px; } .controls input { width: 50px; } table { width: 100%; border-collapse: collapse; margin-top: 30px; } th, td { text-align: left; padding: 4px; border-bottom: 1px solid #888; } /* Spaltenbreiten über colgroup steuern */ col.col-sensornumber { width: 7em; } col.col-espid {width: 9em} col.col-bezeichnung { width: 8em; } col.col-beschreibung{ width: 15em; } col.col-date { width: 10em; } col.col-aktionen { width: 2em; } .controls input#page, .controls input#limit { width: 50px; margin-left: 10px; } .error { color: red; font-weight: bold; margin: 10px 0; } form { max-width: 400px; margin: 0 auto; padding: 1rem; border-radius: 8px; background: #f9f9f9; box-shadow: 0 2px 6px rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 0.5rem; } label { font-weight: bold; } input { padding: 0.4rem; border: 1px solid #ccc; border-radius: 4px; } button { padding: 0.6rem; border: none; border-radius: 4px; background: #007bff; color: white; font-size: 1rem; cursor: pointer; } button:hover { background: #0056b3; } .editBtn, .deleteBtn { background: none; border: none; font-size: 18px; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s ease; margin: 0 2px; } .editBtn:hover { background: rgba(0, 123, 255, 0.1); transform: scale(1.1); } .deleteBtn:hover { background: rgba(220, 53, 69, 0.1); transform: scale(1.1); } .twobuttons { display: flex; justify-content: space-between; width: 100%; gap: 5px; } p.error { color: red; font-weight: bold; text-align: center; } .card form { display: flex; flex-direction: column; align-items: flex-start; /* Links bündig */ gap: 0.5rem; } .card form label { font-weight: bold; } .card form input, .card form textarea { width: 100%; max-width: 400px; /* gleiche Breite */ padding: 0.4rem; border: 1px solid #ccc; border-radius: 4px; } .card form textarea { min-height: 60px; resize: vertical; } #gzahl { margin-left: 30px; } #role { font-size: 12pt; padding: 5px 0 5px 3px; margin-bottom: 20px; } #version { width: 100%; display: flex; justify-content: flex-end; font-size: 70%; color: #007bff; margin-top: 15px; }