/* ===============================
   ESTILOS ZONA CLIENTES - OAS BUS
   =============================== */

.login-container {
  max-width: 420px;
  margin: 80px auto;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 24px;
}

/* FORMULARIO */
.login-form .form-group {
  margin-bottom: 16px;
}

.login-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.error-message {
  color: #c0392b;
  margin-bottom: 12px;
  text-align: center;
}

/* INFO LOGIN */
.login-info {
  margin-top: 24px;
  padding: 12px;
  background-color: #f5f7fa;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

/* ===============================
   PANEL CLIENTE
   =============================== */

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.panel-section {
  margin-bottom: 40px;
}

.panel-section h2 {
  margin-bottom: 16px;
  border-bottom: 2px solid #004aad;
  padding-bottom: 6px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

/* ===============================
   CARD BILLETE CLIENTE
   =============================== */

.ticket-card {
  /* width: 260px; */
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.ticket-card:hover {
  transform: translateY(-4px);
}

/* PARTE SUPERIOR */
.ticket-top {
  height: 70px;
  background: #cf5f14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-top svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* CUERPO */
.ticket-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-header h3 {
  font-size: 15px;
  margin: 0;
}

/* ESTADO */
.ticket-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
}

.ticket-status.ok {
  background-color: #e6f4ea;
  color: #1e7e34;
}

.ticket-route {
  font-weight: 600;
  font-size: 14px;
}

.ticket-date {
  font-size: 13px;
  color: #555;
}

/* OFERTAS */
.offers-list {
  list-style: none;
  padding-left: 0;
}

.offers-list li {
  background-color: #f5f7fa;
  margin-bottom: 10px;
  padding: 12px;
  border-left: 4px solid #ffcc00;
}

/* TABLA */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.data-table th,
.data-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.data-table th {
  background-color: #f5f7fa;
}

/* ESTADOS */
.status.ok {
  color: #27ae60;
  font-weight: 600;
}

.status.pending {
  color: #e67e22;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary {
  background-color: #004aad;
  color: #fff;
}

.btn.secondary {
  background-color: #999;
  color: #fff;
}

.btn.small {
  padding: 6px 12px;
  font-size: 14px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 600px) {
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .login-container {
    margin: 40px 16px;
  }
}

/* ===============================
   CARD BILLETE CLIENTE
   =============================== */

.ticket-card {
  width: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.ticket-card:hover {
  transform: translateY(-4px);
}

/* PARTE SUPERIOR */
.ticket-top {
  height: 70px;
  background: #cf5f14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-top svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* CUERPO */
.ticket-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-header h3 {
  font-size: 15px;
  margin: 0;
}

/* ESTADO */
.ticket-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
}

.ticket-status.ok {
  background-color: #e6f4ea;
  color: #1e7e34;
}

.ticket-route {
  font-weight: 600;
  font-size: 14px;
}

.ticket-date {
  font-size: 13px;
  color: #555;
}

@media (max-width: 768px) {
  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none; /* ocultamos cabecera */
  }

  .data-table tr {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    padding: 12px;
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }

  .data-table td:last-child {
    border-bottom: none;
  }

  /* Etiquetas */
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
  }
}
