/* [project]/src/app/visitor-board.css [app-client] (css) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #d1d5db 0%, #e5e7eb 100%);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  overflow: auto;
}

.parking-container {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff0d;
  border: 2px solid #ffffff1a;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 1600px;
  height: 95vh;
  padding: 60px;
  display: flex;
  position: relative;
}

.warehouse {
  z-index: 10;
  background: #a5a6a5;
  border: 3px solid #1a4923;
  border-radius: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 400px;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  box-shadow: 0 20px 40px #0000004d;
}

.warehouse-text {
  color: #ecf0f1;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}

.warehouse img {
  mix-blend-mode: multiply;
}

.warehouse-info {
  color: #bdc3c7;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.parking-spot {
  cursor: pointer;
  color: #fff;
  border: 2px solid #0000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 185px;
  height: 25px;
  font-size: 8px;
  font-weight: 600;
  transition: all .3s;
  display: flex;
  position: absolute;
}

.parking-spot:hover {
  border-width: 3px;
  border-color: #fff;
  box-shadow: 0 0 0 2px #ffffff80;
}

.parking-spot.has-trip {
  cursor: pointer;
}

.parking-spot.has-trip:hover {
  border-color: #fff;
}

.parking-spot.available:hover {
  border-color: #fff;
  box-shadow: 0 0 0 2px #ffffff4d;
}

.available {
  background: #fff;
}

.occupied {
  background: #1a4923;
  border-color: #cb4e1a;
}

.reserved {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  border-color: #d68910;
}

.maintenance {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  border-color: #7f8c8d;
}

.ontime {
  background: #1a4923;
}

.late {
  background: #8a3412;
  border-color: #8a3412;
}

.early {
  background: linear-gradient(135deg, #e6895f, #e6895f);
  border-color: #e6895f;
}

.spot-name {
  color: #888;
}

.controls {
  z-index: 200;
  flex-direction: column;
  gap: 10px;
  display: none;
  position: absolute;
  top: 90px;
  left: 20px;
}

.control-button {
  cursor: pointer;
  color: #2c3e50;
  background: #ffffffe6;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  transition: all .3s;
}

.control-button:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #0003;
}

.checked-in-trucks {
  color: #2c3e50;
  z-index: 200;
  background: #ffffffe6;
  border-radius: 10px;
  min-width: 280px;
  max-width: 350px;
  padding: 15px;
  font-size: 12px;
  line-height: 1.4;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.assets {
  color: #2c3e50;
  z-index: 200;
  background: #ffffffe6;
  border-radius: 10px;
  min-width: 280px;
  max-width: 350px;
  padding: 15px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
}

.checked-in-trucks h3 {
  color: #2c3e50;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
}

.truck-item {
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 3px solid #3498db;
  border-radius: 6px;
  margin-bottom: 6px;
  padding: 8px 10px;
  transition: all .3s;
}

.truck-item.late {
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 3px solid red;
  border-radius: 6px;
  margin-bottom: 6px;
  padding: 8px 10px;
  transition: all .3s;
}

.truck-item:hover {
  background: #e3f2fd;
  border-left-color: #2196f3;
  transform: translateX(2px);
}

.truck-item:last-child {
  margin-bottom: 0;
}

.truck-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-weight: 600;
  display: flex;
}

.truck-trip {
  color: #2c3e50;
  font-size: 11px;
}

.truck-time {
  color: #7f8c8d;
  font-size: 10px;
}

.truck-details {
  color: #5a6c7d;
  font-size: 10px;
  line-height: 1.3;
}

.truck-trailer {
  color: #34495e;
  font-weight: 500;
}

.truck-trailer.late {
  color: red;
  background-color: #f8f9fa;
  font-weight: bold;
}

.small-name {
  color: #fef3c7;
  text-shadow: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.trailer-number {
  color: #f4f5f7;
  text-align: center;
  white-space: nowrap;
  border-radius: 16px;
  flex: 0;
  padding: 3px 20px;
  font-family: Courier New, monospace;
  font-size: 12px;
  font-weight: 600;
}

.dwell-minutes {
  color: #fef3c7;
  text-align: right;
  text-shadow: none;
  border-radius: 16px;
  flex: 1;
  padding: 3px 0;
}

.no-trucks {
  color: #7f8c8d;
  text-align: center;
  padding: 10px;
  font-style: italic;
}

.stats {
  color: #2c3e50;
  z-index: 200;
  background: #ffffffe6;
  border-radius: 10px;
  max-width: 320px;
  padding: 15px;
  font-size: 12px;
  line-height: 1.6;
  position: absolute;
  top: 20px;
  left: 20px;
}

.stats h3 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.config-info {
  color: #2c3e50;
  z-index: 200;
  background: #ffffffe6;
  border-radius: 8px;
  max-width: 200px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.4;
  position: absolute;
  top: 20px;
  right: 20px;
}

.config-info h4 {
  color: #2c3e50;
  margin-bottom: 6px;
  font-size: 12px;
}

.ultra-compact {
  border-top: 1px solid #cbd5e0;
  margin-top: 24px;
  padding-top: 16px;
}

.compact-title {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.compact-item {
  border-bottom: 1px solid #f1f5f9;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  display: grid;
}

.compact-item:last-child {
  border-bottom: none;
}

.compact-id {
  color: #2d3748;
  font-size: 13px;
  font-weight: 600;
}

.compact-person {
  color: #4b5563;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.compact-time {
  color: #9ca3af;
  text-align: right;
  font-size: 11px;
}

.tooltip {
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  background: #fff;
  border: 1px solid #00000014;
  border-radius: 10px;
  max-width: 350px;
  padding: 0;
  font-size: 12px;
  transition: opacity .3s;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 10px 30px #00000026;
}

.tooltip-header {
  color: #fff;
  background: #1a1a1a;
  border-bottom: 1px solid #ffffff1a;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
}

.tooltip-content {
  color: #2d3748;
  background: #fff;
  padding: 16px 20px;
  line-height: 1.5;
}

.tooltip.show {
  opacity: 1;
  pointer-events: auto;
}

.tooltip h4 {
  color: #f8f9fa;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.tooltip .section {
  border-bottom: 1px solid #ffffff1a;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.tooltip .section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tooltip .label {
  color: #2d3748;
  font-weight: 200;
}

.tooltip .value {
  color: #718096;
  font-weight: 100;
}

.modal-overlay {
  z-index: 3000;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #000000b3;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  padding: 25px;
  transition: transform .3s;
  overflow-y: auto;
  transform: scale(.9);
  box-shadow: 0 20px 60px #0000004d;
}

.modal-overlay.show .modal {
  transform: scale(1);
}

.modal h3 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.trip-info {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
}

.trip-info h4 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.trip-detail {
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 12px;
  display: flex;
}

.trip-detail .label {
  color: #7f8c8d;
  font-weight: 500;
}

.trip-detail .value {
  color: #2c3e50;
  font-weight: 600;
}

.loading-indicator {
  color: #fff;
  z-index: 2000;
  background: #000c;
  border-radius: 10px;
  padding: 20px 30px;
  font-size: 14px;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.error-message {
  color: #fff;
  z-index: 2000;
  background: #e74c3c;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.success-message {
  color: #fff;
  z-index: 2000;
  background: #27ae60;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .parking-container {
    width: 95vw;
    height: 95vh;
    padding: 30px;
  }

  .warehouse {
    width: 180px;
    height: 280px;
  }

  .parking-spot {
    width: 35px;
    height: 20px;
    font-size: 8px;
  }

  .stats, .config-info, .checked-in-trucks {
    max-width: none;
    margin: 10px 0;
    position: relative;
  }
}

table {
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  text-align: left;
  border-bottom: 1px solid #ddd;
  padding: 8px 12px;
}

th {
  font-weight: bold;
}

td:nth-child(2), td:nth-child(3), td:nth-child(4) {
  text-align: right;
}

.visitor-board {
  width: 90vw;
  max-width: 1200px;
  min-height: 80vh;
  padding: 40px;
}

.visitor-board-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  display: flex;
}

.visitor-board-left {
  align-items: center;
  gap: 20px;
  display: flex;
}

.visitor-board-logos {
  align-items: center;
  gap: 16px;
  display: flex;
}

.visitor-board-logos img {
  object-fit: contain;
  mix-blend-mode: multiply;
  width: auto;
  max-height: 48px;
}

.visitor-board-header h1 {
  color: #1a4923;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
}

.visitor-count-badge {
  color: #fff;
  text-align: center;
  background: #1a4923;
  border-radius: 20px;
  min-width: 28px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
}

.refresh-btn {
  color: #fff;
  cursor: pointer;
  background: #1a4923;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  transition: all .25s;
}

.refresh-btn:hover {
  background: #145a1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #1a49234d;
}

.refresh-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.visitor-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  display: grid;
}

.visitor-card {
  cursor: default;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 4px solid #1a4923;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 14px 16px;
  transition: all .25s;
}

.visitor-card:hover {
  background: #eef7f0;
  border-left-color: #27ae60;
  transform: translateX(3px);
  box-shadow: 0 4px 12px #0000000f;
}

.visitor-card-name {
  color: #2c3e50;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.visitor-card-company {
  color: #5a6c7d;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 12px;
  overflow: hidden;
}

.visitor-card-meta {
  color: #7f8c8d;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  display: flex;
}

.visitor-card-host {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-style: italic;
  overflow: hidden;
}

.visitor-card-time {
  color: #1a4923;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: Courier New, monospace;
  font-weight: 600;
}

.visitor-card-badge {
  color: #fef3c7;
  background: #1a4923;
  border-radius: 4px;
  margin-top: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

.visitor-card-purpose {
  color: #6b7280;
  margin-top: 6px;
  font-size: 11px;
  font-style: italic;
}

.dwell-badge {
  color: #fff;
  background-color: #4a90d9;
  border-radius: 4px;
  margin-top: 6px;
  margin-left: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

.dwell-badge.long {
  color: #fff;
  background-color: #2c5f9e;
}

.loading-skeleton {
  background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%) 0 0 / 200% 100%;
  border-radius: 8px;
  height: 100px;
  animation: 1.5s ease-in-out infinite pulse;
}

@keyframes pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.error-banner {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px 18px;
  font-size: 13px;
}

.last-refresh {
  color: #9ca3af;
  text-align: right;
  margin-top: 16px;
  font-size: 11px;
}

.powered-by {
  color: #9ca3af;
  border-top: 1px solid #00000014;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  font-size: 12px;
  display: flex;
}

.powered-by img {
  opacity: .7;
  width: auto;
  height: 20px;
  transition: opacity .25s;
}

.powered-by img:hover {
  opacity: 1;
}

.visitor-card-name {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.alert-icon {
  color: red;
  cursor: default;
  font-size: 1.2rem;
}

.visitor-card-time-col {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

/*# sourceMappingURL=src_app_visitor-board_0oj26bs.css.map*/