/* (eliminado @import de regalo-fisico.css: no existe en el servidor) */

/* Vive Latino - CSS corporativo: fondo azul principal y acentos naranjas/verde */

:root {
    --tph-naranja: #d24323;
    --tph-verde: #77b18e;
    --tph-azul: #17162f;
    --tph-negro: #000000;
    --tph-blanco: #ffffff;
}

/* Cuerpo: fondo azul oscuro y texto blanco */
body {
    background-color: var(--tph-azul) !important;
    color: var(--tph-blanco) !important;
    font-family: "Helvetica Neue", sans-serif !important;
}

a {
    color: var(--tph-naranja) !important;
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline !important;
}

/* Botones primarios (naranja) y secundarios (verde) */
.btn-naranja {
    background-color: var(--tph-naranja) !important;
    border: 1px solid var(--tph-naranja) !important;
    color: var(--tph-blanco) !important;
    transition: background-color 0.3s ease !important;
}

.btn-naranja:hover,
.btn-naranja:focus {
    background-color: #b8391e !important;
}

.btn-verde {
    background-color: var(--tph-verde) !important;
    border: 1px solid var(--tph-verde) !important;
    color: var(--tph-blanco) !important;
    transition: background-color 0.3s ease !important;
}

.btn-verde:hover,
.btn-verde:focus {
    background-color: #679d7b !important;
}

/* Override específico para el botón "Sube ticket" */
.btn-formulario,
#btnReg_l {
    background-color: var(--tph-naranja) !important;
    border: 1px solid var(--tph-naranja) !important;
    color: var(--tph-blanco) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    width: auto !important;
    transition: background-color 0.3s ease !important;
}

.btn-formulario:hover,
#btnReg_l:hover,
.btn-formulario:focus,
#btnReg_l:focus {
    background-color: #b8391e !important;
}

/* Override para el enlace "Cerrar sesión" */
a.btn-success {
    background-color: var(--tph-verde) !important;
    border-color: var(--tph-verde) !important;
    color: var(--tph-blanco) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    display: inline-block !important;
    text-align: center !important;
    width: auto !important;
    transition: background-color 0.3s ease !important;
}

a.btn-success:hover,
a.btn-success:focus {
    background-color: #679d7b !important;
}

/* Tarjetas: fondo blanco para contraste */
.card {
    background-color: var(--tph-blanco) !important;
    border: none !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    color: var(--tph-azul) !important;
}

.card-header {
    background-color: var(--tph-naranja) !important;
    color: var(--tph-blanco) !important;
    border-bottom: none !important;
}

/* Formularios: etiquetas y campos */
.form-label {
    font-weight: 500 !important;
    color: var(--tph-azul) !important;
}

.form-control,
.form-select {
    background-color: var(--tph-blanco) !important;
    color: var(--tph-azul) !important;
    border-radius: 0.25rem !important;
    border: 1px solid var(--tph-naranja) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tph-verde) !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(119, 177, 142, 0.25) !important;
}

.form-check-input:checked {
    background-color: var(--tph-verde) !important;
    border-color: var(--tph-verde) !important;
}

/* Alertas de mantenimiento */
.alert-mantenimiento {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--tph-blanco) !important;
    color: var(--tph-blanco) !important;
    text-align: center !important;
}

/* Pie de página: fondo negro suave */
.footer {
    background-color: var(--tph-negro) !important;
    color: var(--tph-blanco) !important;
    padding: 1rem 0 !important;
}

.footer a {
    color: var(--tph-verde) !important;
}

.footer a:hover {
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem !important;
    }
}

/* ==== COMPONENTES HOSTING075 (adaptados a Vive Latino 25) - INICIO ==== */
/* Estilos de las vistas comunes de hosting075 (resumen, tiquet/QR, Upload V2, regalos, timeline...).
   Base: kenvue-patines-26/areaPersonal.css, con colores y fuentes de Vive Latino 25. */

.area-personal-header,
.area-personal-card,
.ticket-qr-card,
.upload-area-wrapper {
  --ap-primary: var(--tph-azul);
  --ap-primary-hover: #1656ad;
  --ap-accent: var(--tph-amarillo);
  --ap-dark: var(--tph-negro);
  --ap-gray: #6c757d;
  --ap-gray-light: #868686;
  --ap-white: var(--tph-blanco);
  --ap-secondary: var(--mz-amarillo-claro);
  --ap-radius: 1rem;
  --ap-transition: all 0.2s ease;
}

:root {
  --mz-amarillo-claro: #fff6b3;
  --tph-amarillo: #d24323;
  --tph-font-Futura-Condensed-Bold: 'Typold Regular', Arial, sans-serif;
  --tph-font-Futura-Medium: var(--tph-font-body, Arial), sans-serif;
}

/* ==========================================================================
   HEADER PÁGINA – area-personal-header (resumenParticipacion.php)
   ========================================================================== */
.area-personal-header {
  background-color: var(--tph-amarillo);
  padding: 2.5rem 1.5rem;
  border-radius: var(--ap-radius);
  color: var(--tph-negro);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.area-personal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.area-personal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  color: var(--tph-azul);
}

.area-personal-title {
  font-family: var(--tph-font-Futura-Condensed-Bold);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.area-personal-subtitle {
  font-family: var(--tph-font-Futura-Medium);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TARJETAS DE SECCIÓN – area-personal-card (datos, regalo, contacto)
   ========================================================================== */
.area-personal-card {
  border-radius: var(--ap-radius);
  border: none;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}

.area-personal-card:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.area-personal-card-header {
  background-color: var(--tph-negro);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
}

.area-personal-card-header h2 {
  font-family: var(--tph-font-Futura-Condensed-Bold);
  font-size: 1.15rem;
  color: var(--tph-blanco);
  margin-bottom: 0;
}

.area-personal-card-header i {
  color: var(--tph-amarillo);
  font-size: 1.25rem;
}

.area-personal-card .card-body {
  padding: 1.5rem;
}

.area-personal-card .card-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

/* ==========================================================================
   TARJETA TICKET / QR – ticket-qr-card (ticketQR, ticketDesktop, ticketEstados)
   ========================================================================== */
.ticket-qr-card {
  border-radius: var(--ap-radius);
  border: none;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.ticket-qr-card:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Header de la tarjeta QR */
.ticket-qr-header {
  background-color: var(--tph-negro);
  padding: 2rem 1.5rem;
  text-align: center;
  color: white;
  position: relative;
}

.ticket-qr-icon {
  font-size: 2.25rem;
  color: var(--tph-amarillo);
  margin-bottom: 0.75rem;
}

.ticket-qr-title {
  font-family: var(--tph-font-Futura-Condensed-Bold);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.4rem;
}

.ticket-qr-subtitle {
  font-family: var(--tph-font-Futura-Medium);
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Separador */
.ticket-qr-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tph-amarillo), transparent);
  margin: 0;
  opacity: 0.5;
}

/* Footer / alertas */
.ticket-qr-footer {
  padding: 1.25rem 1.5rem;
}

.ticket-qr-alert {
  border-radius: 0.75rem;
  border: none;
  background-color: var(--mz-amarillo-claro);
  margin-bottom: 0;
}

.ticket-qr-alert i {
  color: var(--tph-azul);
}

/* ==========================================================================
   PASOS – step-card (usado dentro de ticket-qr-steps)
   ========================================================================== */
.ticket-qr-steps {
  padding: 1.5rem;
}

.step-card {
  background-color: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
  border-color: var(--tph-azul);
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--tph-azul);
  color: white;
  border-radius: 50%;
  font-family: var(--tph-font-Futura-Condensed-Bold);
  font-size: 1rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 3px 8px rgba(14, 66, 138, 0.3);
}

.step-card .step-icon {
  font-size: 1.75rem;
  color: var(--tph-azul);
  margin-bottom: 0.75rem;
}

.step-card .step-title {
  font-family: var(--tph-font-Futura-Medium);
  font-size: 0.9rem;
  color: var(--tph-negro);
  margin-bottom: 0.4rem;
}

.step-card .step-description {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   SECCIÓN QR – ticket-qr-code-section (ticketQR.php)
   ========================================================================== */
.ticket-qr-code-section {
  padding: 2rem 1.5rem;
  background-color: #fafbfc;
}

.qr-code-wrapper {
  background: white;
  border-radius: var(--ap-radius);
  padding: 1.5rem;
  text-align: center;
  border: 2px dashed rgba(14, 66, 138, 0.25);
  transition: all 0.3s ease;
}

.qr-code-wrapper:hover {
  border-color: var(--tph-azul);
  box-shadow: 0 0.5rem 1.5rem rgba(14, 66, 138, 0.12);
  transform: translateY(-3px);
}

.qr-code-image {
  max-width: 240px;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.qr-code-wrapper:hover .qr-code-image {
  transform: scale(1.03);
}

.qr-code-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--tph-negro);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-family: var(--tph-font-Futura-Medium);
  font-size: 0.8rem;
}

.qr-code-label i {
  color: var(--tph-amarillo);
}

/* ==========================================================================
   SECCIÓN SUBIDA ARCHIVO – ticket-qr-upload-section (ticketDesktop, ticketMovil)
   ========================================================================== */
.ticket-qr-upload-section {
  padding: 1.5rem;
}

/* ==========================================================================
   ESTADOS DE TICKETS
   ========================================================================== */
.estado-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.estado-pendiente {
  background-color: rgba(255, 221, 1, 0.2);
  color: #9a7403;
}

.estado-aceptado {
  background-color: rgba(40, 167, 69, 0.2);
  color: #156637;
}

.estado-rechazado {
  background-color: rgba(220, 53, 69, 0.2);
  color: #a71d2a;
}

.estado-revisar {
  background-color: rgba(23, 162, 184, 0.2);
  color: #117a8b;
}

/* ==========================================================================
   ALERTAS PERSONALIZADAS
   ========================================================================== */
.ap-alert {
  border-radius: 0.75rem;
  border: none;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ap-alert:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.ap-alert::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5px;
}

.ap-alert.alert-info {
  background-color: var(--mz-amarillo-claro);
}

.ap-alert.alert-info::after {
  background-color: var(--tph-amarillo);
}

.ap-alert.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
}

.ap-alert.alert-success::after {
  background-color: #28a745;
}

.ap-alert.alert-warning {
  background-color: rgba(255, 221, 1, 0.1);
}

.ap-alert.alert-warning::after {
  background-color: var(--tph-amarillo);
}

.ap-alert.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
}

.ap-alert.alert-danger::after {
  background-color: #dc3545;
}

.ap-alert .alert-icon {
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.ap-alert.alert-info .alert-icon {
  color: var(--tph-azul);
}

.ap-alert.alert-success .alert-icon {
  color: #28a745;
}

.ap-alert.alert-warning .alert-icon {
  color: #d39e00;
}

.ap-alert.alert-danger .alert-icon {
  color: #bd2130;
}

.ap-alert .alert-content {
  flex: 1;
}

.ap-alert .alert-content h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.ap-alert .alert-content .alert-message {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.ap-alert .alert-content .alert-timestamp {
  display: block;
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.ap-alert .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.ap-alert .btn-close:hover {
  opacity: 1;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PASOS EN LISTA VERTICAL
   ========================================================================== */
.steps-list {
  position: relative;
}

.steps-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 18px;
  width: 2px;
  background: var(--tph-azul);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--tph-azul);
  color: white;
  border-radius: 50%;
  font-family: var(--tph-font-Futura-Condensed-Bold);
  margin-right: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 6px rgba(14, 66, 138, 0.25);
}

.step-content {
  flex: 1;
  padding-top: 3px;
}

/* Pasos horizontales */
.horizontal-steps {
  position: relative;
  margin-bottom: 2rem;
}

.horizontal-steps .step-item {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.horizontal-steps .step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--tph-azul);
  color: white;
  border-radius: 50%;
  font-family: var(--tph-font-Futura-Condensed-Bold);
  flex-shrink: 0;
  box-shadow: 0 3px 6px rgba(14, 66, 138, 0.25);
}

.horizontal-steps .step-content {
  flex: 1;
}

/* ==========================================================================
   TIMELINE DE ESTADO
   ========================================================================== */
.estado-timeline {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.estado-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e9ecef;
  z-index: 1;
}

.estado-timeline .timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.estado-timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.estado-timeline .timeline-dot {
  position: absolute;
  left: -2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #6c757d;
  z-index: 2;
}

.estado-timeline .timeline-item.active .timeline-dot {
  background-color: var(--tph-azul);
  box-shadow: 0 0 0 4px rgba(14, 66, 138, 0.2);
}

.estado-timeline .timeline-item.completed .timeline-dot {
  background-color: #28a745;
}

.estado-timeline .timeline-content {
  padding: 0.5rem 0;
}

.estado-timeline .timeline-content h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.estado-timeline .timeline-content p {
  color: #6c757d;
  margin-bottom: 0;
}

.estado-timeline .timeline-date {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   LOADER COMPROBACIÓN TICKET
   ========================================================================== */
.loader-ticket {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(14, 66, 138, 0.3);
  border-radius: 50%;
  border-top-color: var(--tph-azul);
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

.checking-ticket {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 1rem;
}

/* Indicador de estado de subida (polling) */
.upload-status-indicator {
  background-color: var(--mz-amarillo-claro);
  border: 1px solid var(--tph-amarillo);
  color: var(--tph-negro);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  margin: 1rem auto;
  max-width: 500px;
  font-size: 0.9rem;
}

.upload-status-indicator.status-success {
  background-color: rgba(40, 167, 69, 0.08);
  border-color: rgba(40, 167, 69, 0.2);
  color: #155724;
}

.upload-status-indicator.status-warning {
  background-color: rgba(255, 221, 1, 0.08);
  border-color: rgba(255, 221, 1, 0.2);
  color: #856404;
}

/* =========================
   Upload area (componente uploadArea.php)
   ========================= */
.upload-area-wrapper {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.upload-placeholder {
  display: block;
  background: linear-gradient(135deg, #0E428A 0%, #1656ad 100%);
  border: 3px dashed rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.upload-placeholder:hover {
  border-color: rgba(255, 221, 1, 0.6);
  background: linear-gradient(135deg, #1656ad 0%, #0E428A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.upload-placeholder:active {
  transform: translateY(0);
}

.upload-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.upload-icon-container {
  position: relative;
  display: inline-block;
}

.upload-cloud-icon {
  width: 80px;
  height: 80px;
  color: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

.upload-arrow {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 2rem;
  color: var(--tph-amarillo);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.upload-title {
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.upload-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.upload-hint {
  font-size: 0.85rem;
}

.upload-preview {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
  position: relative;
}

.preview-container {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.preview-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
}

.btn-remove-preview {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #dc3545;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-remove-preview:hover {
  color: #bb2d3b;
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.upload-placeholder.drag-over {
  border-color: var(--tph-amarillo);
  background: linear-gradient(135deg, #1a5fbf 0%, #2268c9 100%);
  transform: scale(1.02);
}

@media (max-width: 576px) {
  .upload-placeholder {
    padding: 1.5rem 1rem;
    min-height: 280px;
  }

  .upload-cloud-icon {
    width: 60px;
    height: 60px;
  }

  .upload-title {
    font-size: 1.25rem;
  }

  .upload-subtitle {
    font-size: 1rem;
  }
}

/* ==========================================================================
   SEGUIMIENTO DE ENVÍO
   ========================================================================== */
.seguimiento-envio {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.seguimiento-envio .card {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.seguimiento-envio .card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.seguimiento-envio i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seguimiento-envio .btn-outline-primary {
  border-color: var(--tph-azul);
  color: var(--tph-azul);
  transition: all 0.2s ease;
}

.seguimiento-envio .btn-outline-primary:hover {
  background-color: var(--tph-azul);
  color: white;
}

.seguimiento-envio .btn-outline-success {
  border-color: #28a745;
  color: #28a745;
  transition: all 0.2s ease;
}

.seguimiento-envio .btn-outline-success:hover {
  background-color: #28a745;
  color: white;
}

.seguimiento-envio .d-flex.gap-2 {
  gap: 0.5rem !important;
}

/* Timeline de seguimiento */
.timeline-seguimiento {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-seguimiento::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e9ecef;
  z-index: 1;
}

.timeline-seguimiento .timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
}

.timeline-seguimiento .timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-seguimiento .timeline-marker {
  position: absolute;
  left: -2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--tph-azul);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(14, 66, 138, 0.1);
}

.timeline-seguimiento .timeline-item:first-child .timeline-marker {
  background-color: #28a745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.timeline-seguimiento .timeline-content {
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-seguimiento .timeline-content:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.timeline-seguimiento .timeline-item:nth-child(odd) .timeline-content {
  border-left: 3px solid var(--tph-azul);
}

.timeline-seguimiento .timeline-item:nth-child(even) .timeline-content {
  border-left: 3px solid var(--tph-amarillo);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 767.98px) {
  .area-personal-header {
    padding: 1.75rem 1rem;
  }

  .area-personal-title {
    font-size: 1.35rem;
  }

  .ticket-qr-header {
    padding: 1.5rem 1rem;
  }

  .ticket-qr-title {
    font-size: 1.25rem;
  }

  .ticket-qr-steps {
    padding: 1rem;
  }

  .step-card {
    padding: 1rem 0.75rem;
  }

  .ticket-qr-code-section {
    padding: 1.25rem 1rem;
  }

  .qr-code-image {
    max-width: 180px;
  }

  .horizontal-steps .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .horizontal-steps .step-content h6 {
    font-size: 0.95rem;
  }
}

/* ---------- Ajustes Vive Latino 25 ---------- */

/* Pasos del tiquet: icono sin el círculo gris heredado */
.step-card .step-icon {
  width: auto;
  height: auto;
  background: none;
  border: 0;
  border-radius: 0;
  display: block;
  font-size: 2rem;
  color: var(--tph-azul);
}

.step-card .step-number {
  background-color: var(--tph-amarillo);
  color: var(--tph-azul);
  font-family: var(--tph-font-Futura-Condensed-Bold);
}

/* Cabecera de la tarjeta del tiquet: azul Ambar, título blanco */
.ticket-qr-header {
  background-color: var(--tph-azul);
}

.ticket-qr-title {
  color: var(--tph-blanco);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.step-card .step-title {
  font-family: var(--tph-font-Futura-Condensed-Bold);
  color: var(--tph-azul);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.step-card .step-description {
  font-family: var(--tph-font-Futura-Medium);
  color: #5a6270;
}

/* Cabecera de las tarjetas del área personal ("Necessites ajuda?", regal, dades...) */
.area-personal-card-header {
  background-color: var(--tph-azul);
  gap: 0.5rem;
}

.area-personal-card-header h2 {
  color: var(--tph-blanco);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.area-personal-card-header > .bi {
  font-size: 1.5rem;
  color: var(--tph-amarillo);
}

.area-personal-card .card-subtitle {
  color: #5a6270;
  font-family: var(--tph-font-Futura-Medium);
}

.area-personal-contact-method {
  background-color: var(--tph-blanco);
  border-color: rgba(14, 66, 138, 0.15) !important;
  transition: var(--ap-transition, all 0.2s ease);
}

.area-personal-contact-method:hover {
  border-color: var(--tph-azul) !important;
  box-shadow: 0 6px 18px rgba(14, 66, 138, 0.12);
}

.area-personal-contact-icon {
  color: var(--tph-azul);
}

.area-personal-contact-method h3 {
  font-family: var(--tph-font-Futura-Condensed-Bold);
  color: var(--tph-azul);
  text-transform: uppercase;
}

.area-personal-contact-method a {
  color: var(--tph-azul) !important;
}

.area-personal-contact-method p,
.area-personal-contact-method a {
  font-family: var(--tph-font-Futura-Medium);
}

/* Zona de subida: texto en amarillo Ambar */
.upload-placeholder .upload-title {
  color: var(--tph-amarillo) !important;
  font-family: var(--tph-font-Futura-Condensed-Bold);
}

/* ---------- Móvil ---------- */
@media (max-width: 576px) {
  .ticket-qr-card {
    border-radius: 0.75rem;
  }

  .ticket-qr-header {
    padding: 1.25rem 1rem 0.75rem;
  }

  .ticket-qr-title {
    font-size: 1.5rem;
  }

  .ticket-qr-upload-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* El área de subida ocupa todo el ancho de la tarjeta */
  .ticket-qr-upload-section .row > .col-10 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .upload-area-wrapper,
  .upload-placeholder,
  .preview-container {
    min-height: 240px;
  }

  .preview-image {
    max-height: 320px;
  }

  .ticket-qr-upload-section .btn {
    width: 100%;
  }

  .area-personal-contact-method {
    padding: 1.25rem !important;
  }

  .area-personal-contact-icon {
    font-size: 2rem !important;
  }
}
/* ==== COMPONENTES HOSTING075 (adaptados a Vive Latino 25) - FIN ==== */
