/* Stiluri generale */
body {
    font-family: system-ui, Arial, sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    color: #111;
    font-size: 0.95rem;
  }
  
  .container {
    max-width: 1000px;
    margin: auto;
    padding: 1rem;
  }
  
  /* Header companie */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }
  header img {
    width: 160px;
    height: auto;
    object-fit: contain;
  }
  header .company-info {
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  /* Carduri */
  .card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.2rem;
  }
  
  /* Grid sistem */
  .grid {
    display: grid;
    gap: 0.5rem;
  }
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  /* Câmpuri formular */
  .field {
    display: flex;
    flex-direction: column;
  }
  .field label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }
  input, select, textarea {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.4rem;
    font-size: 0.85rem;
  }
  textarea {
    min-height: 60px;
  }
  
  /* Butoane */
  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
  }
  button {
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
  }
  button.primary { background: #2563eb; color: white; }
  button.secondary { background: #f3f4f6; color: #111; }
  button.danger { background: #dc2626; color: white; }
  
  /* Mesaje info */
  .info {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
  }
  
  /* Print compact */
  @media print {
    body {
      background: white;
      font-size: 12px;
    }
    header img {
      width: 140px;
    }
    header .company-info {
      font-size: 10px;
    }
    .card {
      margin-bottom: 0.6rem;
      padding: 0.6rem;
      border: 1px solid #ccc;
      box-shadow: none;
    }
    .card h3 {
      font-size: 13px;
      margin-bottom: 0.4rem;
    }
    .grid-2 {
      grid-template-columns: 1fr 1fr;
    }
    .grid-3 {
      grid-template-columns: 1fr 1fr 1fr;
    }
    .actions {
      display: none; /* ascunde butoanele */
    }
  }
  