/* Allgemeine Stile */ :root { --primary-color: #63bb67; /* Hauptfarbe Grün */ --primary-light: #8cd590; /* Helleres Grün */ --background-green: #28902D; /* Dunkleres Hintergrund-Grün */ --text-color: #1e293b; /* Dunkelgrau für Text */ --inner-box-bg: #63bb67; /* Grüner Hintergrund für innere Boxen */ --inner-text-color: #ffffff; /* Weißer Text in Boxen */ --stat-value-color: #ffd700; /* Gelber Text für Werte */ --header-bg: #28902D; /* Hintergrundfarbe für den Header */ --header-border: #f7208c; /* Pinke Randfarbe für den Header */ --accent-color: #d51274; /* Pink für Akzentfarben */ --header-text: #40e8b7; /* Türkisfarbener Text */ --background-light: #63bb67; /* Helleres Grün für Container */ --border-color: rgba(255, 255, 255, 0.1); /* Subtile Borders */ --card-background: rgba(255, 255, 255, 0.15); --card-shadow: 0 4px 15px rgba(31, 41, 55, 0.1); --glass-bg: rgba(255, 255, 255, 0.15); --glass-border: 1px solid rgba(255, 255, 255, 0.2); --glass-blur: blur(12px); --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 0; background: var(--background-green); background-image: radial-gradient(circle at center, var(--primary-color) 0%, var(--background-green) 100%); color: var(--text-color); display: flex; flex-direction: column; min-height: 100vh; } /* Header und Navigation */ .navbar { background: var(--header-bg); border: 2px solid var(--header-border); width: calc(100% - 4rem); max-width: 1400px; display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 1000; border-radius: 1rem; height: 80px; } .logo { height: 70px; width: auto; margin-right: 15px; } .navbar a { color: var(--inner-text-color); text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; transition: all 0.3s; } .navbar a:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-1px); } /* Logo und Text im Header */ .logo-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; } .logo-text h4 { font-size: 1rem; color: var(--header-text); margin: 0 !important; } .logo-text h1 { font-size: 1.75rem; font-weight: 600; color: var(--header-border); margin: 5px !important; text-shadow: 1px 1px 0 var(--accent-color); } /* Status Container in der Navbar */ .status-container { background: var(--inner-box-bg) !important; border-radius: 1rem; padding: 0.5rem 1rem; display: flex; align-items: center; gap: 1rem; } .status-item { background: rgba(0, 0, 0, 0.1) !important; color: var(--inner-text-color) !important; padding: 0.25rem 0.75rem; border-radius: 0.5rem; display: flex; align-items: center; gap: 0.5rem; } .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; } .online { background-color: #63bb67; } .offline { background-color: #dc2626; } .ram-status { color: var(--inner-text-color); font-size: 0.9em; padding: 0.25rem 0.75rem; background: rgba(99, 187, 103, 0.1); border-radius: 0.5rem; } /* Inhalt */ .container { padding: 20px; width: 100%; max-width: none; background: white; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-top: 20px; /* Platz für die fixe Navbar */ } /* Überschriften */ h1 { color: #007bff; text-align: center; } h3 { color: #007bff !important; font-size: 24px; margin-top: 5px; margin-bottom: 5px; font-weight: bold; text-align: center; } /* Formulare */ form { display: flex; flex-direction: column; gap: 10px; padding: 20px; } label { font-weight: bold; } input[type="text"], input[type="submit"] { padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; } input[type="text"]:focus { border-color: #007bff; outline: none; } input[type="submit"] { background-color: #007bff; color: white; border: none; cursor: pointer; transition: background 0.3s; } input[type="submit"]:hover { background-color: #0056b3; } /* Buttons */ button { padding: 10px 15px; border: none; border-radius: 5px; background-color: #007bff; color: white; font-size: 16px; cursor: pointer; transition: background 0.3s; } button:hover { background-color: #0056b3; } /* Statusnachricht */ #statusMessage { margin-top: 10px; padding: 10px; border-radius: 5px; background-color: #8cc4fd; text-align: center; font-weight: bold; } .features { display: flex; justify-content: space-between; margin-top: 30px; text-align: left; } .feature { flex: 1; padding: 0 20px; border-radius: 8px; margin: 0 10px 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); border: var(--glass-border); } .feature h3 { font-size: 1.4rem; margin-bottom: 10px; color: #007bff; } .feature p { font-size: 1rem; color: #ffffff; } p { font-size: 1rem; color: #ffffff; } a { color: #007bff; text-decoration: none; font-weight: bold; cursor: pointer; } a:hover { text-decoration: underline; } /* Karten-Stil für optische Trennung */ .card { background: #f9f9f9; padding: 15px; margin: 20px 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } /* Versteckte Elemente */ .hidden { display: none; } /* Dropdown-Stil */ .styled-select { width: 100%; padding: 12px 15px; font-size: 16px; border: 2px solid #e0e0e0; border-radius: 8px; background-color: #fff; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 15px; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .styled-select:hover { border-color: #007bff; box-shadow: 0 3px 6px rgba(0, 123, 255, 0.1); } .styled-select:focus { border-color: #007bff; outline: none; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); } .styled-select:disabled { background-color: #f5f5f5; cursor: not-allowed; opacity: 0.7; } /* NFC-Status */ .nfc-status { font-weight: bold; margin-top: 10px; } .nfc-card-data { padding-left: 20px !important; color: white !important; font-weight: bold !important; margin: 0 auto !important; } .nfc-success { color: green; } .nfc-error { color: red; } /* Füge diese neuen Styles zu deiner style.css hinzu */ .three-column-layout { display: flex; justify-content: space-between; gap: 20px; margin-top: 5px; width: 100%; } .column { flex: 1; min-width: 0; /* Verhindert Überlauf bei flex-Elementen */ } .feature-box { background: var(--inner-box-bg); border: 1px solid rgba(99, 187, 103, 0.2); border-radius: 0.5rem; padding: 1rem; color: var(--inner-text-color); margin: 10px 0 0 0; } .feature-box h2 { color: var(--inner-text-color); font-size: 1.4rem; margin-bottom: 1rem; margin-top: 0; color: var(--accent-color); text-align: center; } .feature-box ul { list-style: none; padding: 0; margin: 0; } .feature-box ul li { padding: 8px 5px 5px 5px; border-bottom: 1px solid #eee; } .content { width: 95%; max-width: 1400px; margin: 0 auto; padding-top: 100px; padding-bottom: 20px;; } .tray { border-radius: 8px; padding: 15px; margin: 10px 0; color: var(--inner-text-color); background: var(--background-green); border: 1px solid var(--border-color); border-radius: 8px; } .tray p { margin: 5px 0; } /* Responsive Design */ @media (max-width: 1024px) { .three-column-layout { flex-direction: column; } .column { width: 100%; } } .nfc-status-display { display: flex; align-items: center; gap: 10px; padding: 10px 0; } .status-circle { width: 20px; height: 20px; border-radius: 50%; display: inline-block; border: 2px solid #ccc; background-color: #ffffff; } .status-circle.success { background-color: #28a745; border-color: #218838; } .status-circle.error { background-color: #dc3545; border-color: #c82333; } .nfc-data { padding: 10px; background-color: var(--primary-color); border-radius: 4px; margin-top: 5px; width: 100%; } .nfc-data p { margin: 5px 0; font-size: 0.9em; } .nfc-status-display { display: flex; flex-direction: column; gap: 10px; } .error-message { padding: 10px; background-color: #fff3f3; border-radius: 4px; border-left: 4px solid #dc3545; } .info-message { padding: 10px; background-color: #fff3f3; border-radius: 4px; border-left: 4px solid #39d82e; } .nfc-header { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 10px; } .nfc-header h2 { margin: 0; grid-column: 2; text-align: center; color: var(--accent-color); }