input,
select,
textarea {
  font-size: 16px;
}

* {
  touch-action: manipulation;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display',
    system-ui, Arial, sans-serif;
  background: #f4f6f8;
}

/* =========================
   CONTAINER
========================= */

.my-route-container {
  padding: 0;
  background: #f2f4f7;
  min-height: 100vh;
}

/* =========================
   HEADER
========================= */

.my-route-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.my-route-header .title {
  font-weight: 600;
  font-size: 16px;
}

.back-btn {
  font-size: 20px;
  cursor: pointer;
}

.spacer {
  width: 20px;
}

/* =========================
   LIST
========================= */

.my-route-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================
   CARD
========================= */

.visit-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.visit-card:active {
  transform: scale(0.98);
}

/* CURRENT VISIT */
.visit-card.current {
  border: 2px solid #2f80ed;
  background: #f5f9ff;
}

/* COMPLETED */
.visit-card.completed {
  opacity: 0.6;
}

/* =========================
   TIME
========================= */

.visit-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.visit-time .time {
  font-size: 16px;
  font-weight: 600;
}

/* DOT */

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

/* estados */

.visit-card.current .dot {
  background: #2f80ed;
}

.visit-card.completed .dot {
  background: #27ae60;
}

/* =========================
   INFO
========================= */

.visit-info {
  display: flex;
  flex-direction: column;
}

.client {
  font-weight: 600;
}

.address {
  font-size: 12px;
  color: #666;
}

/* =========================
   STATUS
========================= */

.status {
  font-size: 12px;
  margin-top: 4px;
}

/* colores */

.status.in-progress {
  color: #f2994a;
}

.status.pending {
  color: #2f80ed;
}

.status.completed {
  color: #27ae60;
}

/* =========================
   EMPTY
========================= */

.no-visits {
  text-align: center;
  margin-top: 40px;
  color: #888;
}
