@import url('https://fonts.googleapis.com/css?family=Roboto');

.dm-table-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-direction: row;
  align-items: flex-start;
}

.dm-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
  background: #fafafa;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  position: sticky;
  top: 80px;
}

.dm-type-menu-form button {
  padding: 6px 10px;
  background-color: #2c2c2c;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.dm-type-menu-form button.active {
  background-color: #0073aa;
}

.spedytor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spedytor-table th, .spedytor-table td {
  padding: 6px;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.spedytor-table th {
  background-color: #444;
  color: white;
  position: sticky;
  top: 0;
  z-index: 2;
}

.spedytor-table tr:nth-child(odd) {
  background: #f9f9f9;
}

.spedytor-table tr:hover {
  background: #eee;
}

.dm-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.dm-modal-content {
  background: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  position: relative;
}

.dm-close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

#em-add-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#em-add-form input, #em-add-form select, #em-add-form button {
  padding: 8px;
  font-size: 14px;
}

#em-add-form button {
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.em-delete-btn {
  background: none;
  border: none;
  color: #a00;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
}

.em-delete-btn:hover {
  color: red;
}
