body {
  font-family: Arial, sans-serif;
  padding: 40px;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
}

#login-section {
  width: 100%;
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#app {
  width: 100%;
  max-width: 1300px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.add-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.add-button:hover {
  background-color: #0056b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

th, td {
  border: 1px solid #dee2e6;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: #e9ecef;
}

/* Inputs */
input[type="text"],
input[type="url"],
input[type="number"],
input[type="date"],
select {
  padding: 6px;
  font-size: 14px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Column specific widths */
td:nth-child(2) input[type="url"] {
  min-width: 300px;  /* URL field wider */
}

td:nth-child(3) input[type="number"] {
  width: 60px;        /* Qty smaller (3 digits) */
  text-align: center;
}

td:nth-child(5),
td:nth-child(6),
td:nth-child(7) {
  min-width: 160px;   /* Date fields wider */
}

td input[type="date"] {
  width: 100%;
}

/* Status select field a bit wider */
td:nth-child(4) select {
  min-width: 130px;
  width: 100%;
}

/* Row styles */
.urgent-row {
  background-color: #ffe5e5 !important;
}

.received {
  background-color: #d4edda;
}

/* Button group styles */

.button-group {
  display: flex;
  gap: 10px;
}

.help-button {
  padding: 10px 20px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.help-button:hover {
  background-color: #5a6268;
}


/* icon styles */
.title-with-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-logo {
  height: 42px;
  width: auto;
}

/* login form */
#login-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffde2d;
  flex-direction: column;
}

.login-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.login-card h2 {
  margin-bottom: 20px;
  color: #333;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none; 
  box-sizing: border-box;
}

.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.login-button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-button:hover {
  background-color: #0056b3;
}

.login-logo {
  position: absolute;
  top: 60px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.login-logo img {
  height: 400px;
  object-fit: contain;
}
