body {
      font-family: Arial, sans-serif;
      background: #f4f6f8;
      margin: 0;
      padding: 0;
    }

    .navbar {
      background: #fff;
      padding: 12px 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 0 0 8px 8px;
    }

    .navbar h4 {
      margin: 0;
      font-size: 1.2em;
    }

    .navbar .btn {
      padding: 8px 16px;
      font-size: 1em;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .main-row {
      display: flex;
      align-items: flex-start;
      padding: 15px;
      gap: 15px;
      flex-wrap: nowrap;
    }

    .left-section {
      flex: 1.2;
    }

    .middle-section {
      flex: 2;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .right-section {
      flex: 0.3;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .card {
      background: #fff;
      padding: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
    }

    .card h5 {
      margin-top: 0;
      margin-bottom: 12px;
      font-size: 1.15em;
    }

    .form-row {
      display: flex;
      gap: 12px;
      margin-bottom: 10px;
    }

    .form-group {
      flex: 1;
    }

    .form-group label {
      font-weight: bold;
      display: block;
      margin-bottom: 4px;
      font-size: 0.9em;
    }

    .form-group input {
      width: 100%;
      padding: 7px;
      box-sizing: border-box;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }

    .table th, .table td {
      border: 1px solid #ccc;
      padding: 4px;
      text-align: center;
      font-size: 0.9em;
    }

    .table th {
      background: #eee;
    }

    .table input[type="number"],
    .table input[type="text"] {
      width: 80px;
    }

    .table input.timeInMins,
    .table input.completedQty {
      width: 50px;
    }

    .table input[type="datetime-local"] {
      width: 180px;
    }

    .table .wide-input {
      width: 80px;
    }

    .btn-small {
      padding: 6px 12px;
      margin-top: 5px;
      margin-right: 5px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.9em;
    }

    .btn-medium {
      padding: 4px 10px;
      font-size: 0.8em;
      border-radius: 4px;
      margin: 0;
      border: none;
      cursor: pointer;
    }

    .btn-primary {
      background: #007bff;
      color: #fff;
    }

    .btn-danger {
      background: #dc3545;
      color: #fff;
    }

    .btn-green {
      background: #28a745;
      color: #fff;
    }

    .image-only img {
      width: 80px;
      height: 90px;
      object-fit: cover;
      border-radius: 6px;
      border: 1px solid #ccc;
    }

    @media (max-width: 768px) {
      .main-row {
        flex-direction: column;
      }

      .left-section, .middle-section, .right-section {
        width: 100%;
      }
    }

   
    #dropdownForm {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      width: 600px;
      max-width: 90%;
      background: #fff;
      padding: 20px;
      transform: translate(-50%, -50%);
      z-index: 999;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      overflow-y: auto;
      max-height: 90vh;
    }

    #dropdownForm .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      background: #dc3545;
      color: white;
      border: none;
      padding: 4px 8px;
      font-size: 16px;
      border-radius: 4px;
      cursor: pointer;
    }

    .popup-form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .popup-form-group {
      flex: 1 1 45%;
    }

    .popup-form-group label {
      font-weight: bold;
      font-size: 0.9em;
      display: block;
      margin-bottom: 4px;
    }

    .popup-form-group input {
      width: 100%;
      padding: 6px;
      box-sizing: border-box;
      border: 1px solid #ccc;
      border-radius: 4px;
    }