/* Public Layout Styles */
.public-layout * { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

.public-layout { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #ffffff;
  margin: 0;
  padding-top: 61px;
}

/* Header */
.public-layout .header {
  background: #000000;
  color: white;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.public-layout .header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.public-layout .header-logo-icon {
  background: white;
  color: black;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}

.public-layout .header-icon {
  font-size: 18px;
}

/* Expired Page */
.public-layout .expired-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: calc(100vh - 61px);
}

.public-layout .expired-card {
  background: white;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  border: 1px solid #e5e7eb;
}

.public-layout .expired-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: #6b7280;
}

.public-layout .expired-card h2 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 600;
}

.public-layout .expired-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 15px;
}

.public-layout .expired-card .footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #9ca3af;
}

/* Shared Trip Page */
.public-layout [data-shared-trip-target="map"] {
  height: 70vh;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

.public-layout .info-panel {
  padding: 16px 20px 20px;
  background: white;
  max-width: 600px;
  margin: 0 auto;
}

.public-layout .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid #93c5fd;
}

.public-layout .status-badge.arrived {
  background: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.public-layout .status-badge.in-progress {
  background: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

.public-layout .status-badge.completed {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.public-layout .eta-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.public-layout .eta-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.public-layout .eta-large {
  font-size: 28px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.public-layout .location-row {
  margin-bottom: 14px;
}

.public-layout .location-row:last-of-type {
  margin-bottom: 20px;
}

.public-layout .info-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.public-layout .info-value {
  font-size: 14px;
  color: #111827;
  line-height: 1.4;
}

.public-layout .driver-section {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.public-layout .driver-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}

.public-layout .vehicle-info {
  font-size: 13px;
  color: #6b7280;
}

.public-layout .footer {
  text-align: center;
  padding: 16px 20px;
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 12px;
}
