/* style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
  }
  
  .container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  header {
    background-color: #005f73;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  header h1 {
    font-size: 1.8rem;
  }
  
  /* Dashboard Grid */
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  @media (min-width: 600px) {
    .dashboard-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Karten */
  .card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
  }
  .card:hover {
    background-color: #e0f7fa;
  }
  .card i {
    font-size: 1.5rem;
    color: #005f73;
  }
  .card h2 {
    font-size: 1.2rem;
  }
  
  /* Login-Formular */
  .login-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
  }
  .login-card h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #005f73;
  }
  .login-card .error {
    color: #c00;
    margin-bottom: 15px;
  }
  .login-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .login-card input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .login-card button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #005f73;
    color: white;
    cursor: pointer;
  }
  .login-card button:hover {
    background-color: #024f5b;
  }
  

  /* PDF Upload*/
  /* Upload-Formular */
.upload-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
  }
  .upload-card h2,
  .upload-card button i {
    margin-right: 8px;
  }
  .upload-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .upload-card input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .upload-card button {
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #005f73;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .upload-card button:hover {
    background-color: #024f5b;
  }
  .message {
    background-color: #e0f7fa;
    color: #005f73;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  /*Speisekarte*/
  /* Speisekarte (PDF-Viewer) */
.speisekarte-container {
    max-width: 900px;
    margin: 20px auto;
    /* Höhe anpassen, z.B. Viewport-Höhe minus Header/Padding */
    height: calc(100vh - 180px);
  }
  
  .pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  /* Optional: Fehlermeldung wie bei Upload */
  .message {
    background-color: #e0f7fa;
    color: #005f73;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin: 40px auto;
    max-width: 500px;
  }
  