body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f4f6f8;
  color: #333;
}

.site-header {
  background: #2c3e50;
  padding: 1rem;
  text-align: center;
}

.logo a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 1.5rem;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #34495e;
  color: white;
  padding: 1rem 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin: 0;
}

.sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
}

.sidebar a:hover {
  background: #2c3e50;
}

.logout-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.75rem 1rem;
  width: 100%;
  text-align: left;
}

.logout-btn:hover {
  background: #2c3e50;
}

.content {
  flex: 1;
  padding: 2rem;
  background: #fff;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #2c3e50;
  color: #ecf0f1;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero .brand {
  color: #00c6ff;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #bdc3c7;
}

.btn-primary {
  background-color: #00c6ff;
  color: #2c3e50;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #00a0d1;
}

.about-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: #2c3e50;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  color: white;
}

.create-container {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.create-container h2,
.create-container h1 {
  color: #00c6ff;
  margin-bottom: 1rem;
}

.create-container .teal-text {
  color: #00c6ff;
}

.create-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.create-container table th {
  text-align: left;
  padding: 0.5rem;
  color: #ecf0f1;
  font-weight: 500;
}

.create-container table td {
  padding: 0.5rem;
}

.create-container input[type='text'],
.create-container input[type='number'],
.create-container select,
.create-container textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #34495e;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #34495e;
  color: #ecf0f1;
}

.create-container input[type='text']::placeholder,
.create-container input[type='number']::placeholder,
.create-container textarea::placeholder {
  color: #bdc3c7;
}

.create-container input:focus,
.create-container select:focus,
.create-container textarea:focus {
  border-color: #00c6ff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 198, 255, 0.4);
}

.create-container .btn {
  background-color: #00c6ff;
  color: #2c3e50;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.create-container .btn:hover {
  background-color: #00a0d1;
}

.page-header h2 {
  color: #ecf0f1;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  color: #1419a1;
  margin-bottom: 1.5rem;
}


.container-list,
.transport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.container-card,
.card {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.container-info label,
.card-content .card-title {
  font-weight: bold;
  color: #00c6ff;
  display: block;
  margin-bottom: 0.3rem;
}

.container-info p,
.card-content p {
  margin: 0 0 0.8rem;
  color: #ecf0f1;
}

.container-info a,
.card-content a {
  color: #00c6ff;
  text-decoration: none;
  font-weight: 500;
}

.container-info a:hover,
.card-content a:hover {
  text-decoration: underline;
}

.container-list p,
.transport-list p {
  color: #bdc3c7;
  font-style: italic;
  text-align: center;
  grid-column: 1 / -1;
}

.page-header h2,
h1,
h2,
h4,
h5 {
  color: #ecf0f1;
  margin-bottom: 1rem;
}

.type_detail,
.container-card,
.card,
.container-detail,
.package-detail,
.transports-conainter {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.type_detail:hover,
.container-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

label {
  font-weight: bold;
  color: #00c6ff;
  display: block;
  margin-bottom: 0.3rem;
}

p {
  margin: 0 0 0.8rem;
}

.type_list,
.container-list,
.transport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.type_detail img,
.transports-pic {
  border-radius: 6px;
  /* margin-bottom: 0.8rem; */
  width: auto;
    height: 300px;
}

/* .qr-code {
  position: relative;
  top: -430px;
  left: 650px;
} */

a {
  color: #00c6ff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.card-action {
  margin-top: 1rem;
}

.card-action a {
  margin-right: 1rem;
}

form {
  margin-top: 1rem;
}

input[type='text'],
input[type='number'],
input[type='file'],
select,
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #34495e;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #34495e;
  color: #ecf0f1;
}

input::placeholder,
textarea::placeholder {
  color: #bdc3c7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00c6ff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 198, 255, 0.4);
}

.btn,
button,
.transport-type-btn {
  background-color: #00c6ff;
  color: #2c3e50;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover,
button:hover,
.transport-type-btn:hover {
  background-color: #00a0d1;
}

.container-list p,
.transport-list p {
  color: #bdc3c7;
  font-style: italic;
  text-align: center;
  grid-column: 1 / -1;
}

.profile-card {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-card h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.profile-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.profile-card strong {
  color: #00c6ff;
}

.profile-card a {
  display: inline-block;
  margin-top: 1rem;
  background-color: #00c6ff;
  color: #2c3e50;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.profile-card a:hover {
  background-color: #00a0d1;
}

.edit-profile-form {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.edit-profile-form h2 {
  margin-bottom: 1.5rem;
}

.edit-profile-form input[type='text'],
.edit-profile-form input[type='email'],
.edit-profile-form input[type='tel'],
.edit-profile-form select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #34495e;
  border-radius: 6px;
  background-color: #34495e;
  color: #ecf0f1;
}

.edit-profile-form input:focus,
.edit-profile-form select:focus {
  border-color: #00c6ff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 198, 255, 0.4);
}

.edit-profile-form .btn {
  background-color: #00c6ff;
  color: #2c3e50;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.edit-profile-form .btn:hover {
  background-color: #00a0d1;
}



.container-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.container-card {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.container-card .card-title {
  font-weight: bold;
  color: #00c6ff;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.container-card p {
  margin: 0 0 0.8rem;
  color: #ecf0f1;
}

.container-card a {
  color: #00c6ff;
  text-decoration: none;
  font-weight: 500;
}

.container-card a:hover {
  text-decoration: underline;
}

/* === Container list: stacked (one per row) === */
.container-list {
  display: flex !important;        /* override grid */
  flex-direction: column;
  gap: 1rem;
}

.container-card {
  width: 100%;
  max-width: 900px;                /* feel free to tweak */
  margin: 0;                       /* remove grid gaps */
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
}

/* Optional: make each row feel more “list-like” */
.container-card .container-info {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 1rem;
  row-gap: .35rem;
}

.container-card .card-title {
  grid-column: 1 / -1;             /* title spans full width */
  font-size: 1.15rem;
  margin-bottom: .25rem;
}

/* Label/value look tighter in a list */
.container-card .container-info p {
  margin: 0;
}

/* Center the whole list nicely */
.page-header + br + form + br + br + .container-list,
.container-list {
  align-items: flex-start;
}

.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-filter-bar .filter-buttons {
  display: flex;
  gap: 0.5rem;
}

/* ===== Container Detail Enhancements ===== */
.page-header h2 {
  color: #cfd8e3;
  margin-bottom: 1rem;
}

.container-detail {
  position: relative;
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  background: #2c3e50;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: .75rem;
}

.detail-title {
  margin: 0;
  font-size: 1.25rem;
  color: #00c6ff;
}

.detail-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.detail-actions a,
.detail-actions button {
  background: #00c6ff;
  color: #2c3e50;
  border-radius: 8px;
  padding: .5rem .8rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.detail-actions a:hover,
.detail-actions button:hover { background: #00a0d1; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: .5rem 1.25rem;
  margin-top: .5rem;
}
.detail-grid .detail-section { margin: 0; }
.detail-grid label {
  color: #8ee8ff;
  font-weight: 700;
  margin-bottom: .25rem;
}
.detail-grid p { margin: 0; }

.stat-chips {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}
.chip {
  background: #34495e;
  color: #ecf0f1;
  border: 1px solid #445b74;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .9rem;
  font-weight: 500;
}

.capacity {
  margin-top: .75rem;
}
.capacity .bar {
  height: 10px;
  background: #34495e;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.capacity .fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #22e6ff);
  border-radius: inherit;
}

.section-block {
  margin-top: 1.25rem;
}
.section-block > h2 {
  color: #cfd8e3;
  font-size: 1.15rem;
  margin: 0 0 .25rem 0;
}
.section-sub {
  color: #9fb4c7;
  font-size: .95rem;
  margin-bottom: .75rem;
}

.package-card {
  background: #2c3e50;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .65rem;
}
.package-card h3 {
  margin: 0 0 .2rem 0;
  color: #00c6ff;
  font-size: 1.05rem;
}
.package-meta { color: #ecf0f1; margin: 0; }
.package-actions form { margin: 0; }
.package-actions button {
  background: #00c6ff;
  color: #2c3e50;
  border: 0;
  border-radius: 8px;
  padding: .45rem .75rem;
  font-weight: 700;
  cursor: pointer;
}
.package-actions button:hover { background: #00a0d1; }

@media (max-width: 720px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; align-items: stretch; }
  .detail-actions { justify-content: flex-start; }
  .package-card { flex-direction: column; align-items: stretch; }
  .package-actions { display: flex; justify-content: flex-end; }
}

.empty-state {
  background: #2c3e50;
  color: #bdc3c7;
  border: 1px dashed #445b74;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
  text-align: center;
  font-style: italic;
  box-shadow: inset 0 0 6px rgba(0,0,0,.25);
}

.empty-state strong {
  color: #00c6ff;
  font-weight: 600;
}

.container-packages h2,
.packages h2 {
  color: #00c6ff;          
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.container-packages h4 {
  color: #9fb4c7;          
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 500;
}
.delivered-indicator {
    display: inline-block;
    width: 10px; 
    height: 10px; 
    background-color: green;
    border-radius: 50%; 
    margin-left: 5px; 
    vertical-align: middle; 
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f4f6f8;
  color: #333;
}

.transports-container {
  margin: 1rem auto;
  padding: 1.5rem;
  border-radius: 8px;
  background: #2c3e50;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.card-action {
  margin-top: 1rem;

}

.card-action h1,
.card-action h2,
.card-action h5 {
  color: #ecf0f1;
  margin-bottom: 0.5rem;
}

.card-action a {
  color: #00c6ff;
  text-decoration: none;
  margin-right: 1rem;
}

.card-action a:hover {
  text-decoration: underline;
}

.qr-code {
  margin-top: 1rem;
  text-align: center; 
}

.container-card {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;
}

.container-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.container-card h3 {
  color: #00c6ff;
  margin-bottom: 0.5rem;
}

.container-card p {
  margin: 0 0 0.8rem;
  color: #ecf0f1;
}

.container-card a {
  color: #00c6ff;
}

.container-card a:hover {
  text-decoration: underline;
}

.empty-state {
  background: #2c3e50;
  color: #bdc3c7;
  border: 1px dashed #445b74;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
  text-align: center;
  font-style: italic;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25);
}

.empty-state strong {
  color: #00c6ff;
  font-weight: 600;
}

.delivered-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: green;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
}

@media (max-width: 720px) {
  .transports-container {
    padding: 1rem; 
  }

  .container-card {
    padding: 1rem; 
  }

  .qr-code {
    margin-top: 1rem;
  }
}


.qr-code {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  padding: 12px 14px;
  background: #f8fafc;        
  border: 1px solid #e2e8f0;     
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);

  margin-top: 12px;             
  max-width: 240px;         
}

.qr-code h5 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  color: #334155;           
}

.qr-code img {
  width: 180px;              
  height: 180px;
  object-fit: contain;
  image-rendering: pixelated;     
}

@media (min-width: 768px) {
  .qr-code {
    margin-left: 12px;
  }
  .transports-pic + .qr-code {
    display: inline-flex;
    vertical-align: top;
  }
}

@media print {
  .qr-code {
    box-shadow: none;
    border: 1px solid #000;
    background: #fff;
  }
  .qr-code img {
    width: 256px;
    height: 256px;
  }
}