/* today-journey.css */

/* ========================================================== */
/* --- JORNADA DE HOJE - CONTAINER PRINCIPAL --- */
/* ========================================================== */

.today-journey {
  display: block;
  width: 100%;
}

.today-journey .loading-container {
  text-align: center;
  padding: 60px 40px;
  color: var(--text-light, #666);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background: var(--surface, #fff);
  border-radius: 12px;
  border: 1px solid var(--border, #eee);
  margin-bottom: 20px;
}

/* ========================================================== */
/* --- DATA NO TOPO (CARD HEADER) --- */
/* ========================================================== */

#currentDayName {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #333);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}

/* ========================================================== */
/* --- JOURNEY INFO BOX (CARDS COLORIDOS COM ÍCONES) --- */
/* ========================================================== */

.journey-info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--surface, #fff);
  border-radius: 10px;
  border: 1px solid var(--border, #eee);
  transition: all 0.2s ease;
  height: 100%;
}

.journey-info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.journey-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.journey-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light, #777);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text, #333);
  line-height: 1.2;
  font-family: "Courier New", Courier, monospace;
}

/* ========================================================== */
/* --- ESTRUTURA DE GRIDS (LADO A LADO) --- */
/* ========================================================== */

.today-journey .card-body .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.today-journey .card-body .row > div[class*="col-"] {
  padding: 10px;
  flex: 0 0 50%;
  max-width: 50%;
}

/* ========================================================== */
/* --- SCHEDULE (JORNADA PREVISTA - LADO DIREITO) --- */
/* ========================================================== */

#journeySchedule {
  padding: 5px 0;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, #eee);
}

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

.schedule-label {
  font-size: 0.85rem;
  color: var(--text-light, #666);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #333);
  font-family: "Courier New", Courier, monospace;
}

/* ========================================================== */
/* --- DIA DE DESCANSO --- */
/* ========================================================== */

#restDayMessage {
  background-color: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 15px;
}

#restDayMessage i {
  font-size: 2rem;
  color: #0284c7;
  margin-bottom: 10px;
}

/* ========================================================== */
/* --- RESPONSIVIDADE --- */
/* ========================================================== */

@media (max-width: 992px) {
  .journey-value {
    font-size: 1.4rem;
  }
  
  #currentDayName {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .today-journey .card-body .row > div[class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .journey-value {
    font-size: 1.8rem;
  }
  
  #currentDayName {
    font-size: 0.9rem;
  }
}