:root {
  --primary: #FF6B00;
  --primary-dark: #E55A00;
  --primary-light: #FF8533;
  --secondary: #FF9F4A;
  --secondary-dark: #FF8C2E;
  --accent: #FFA500;
  --success: #FF6B00;
  --warning: #FFB84D;
  --danger: #FF4D4D;
  --dark: #2D2D2D;
  --gray: #666666;
  --gray-light: #F8F8F8;
  --white: #FFFFFF;
  --sport-gradient: linear-gradient(135deg, #FF6B00 0%, #FF9F4A 100%);
  --shadow: 0 4px 6px -1px rgba(255, 107, 0, 0.1), 0 2px 4px -1px rgba(255, 107, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(255, 107, 0, 0.15), 0 10px 10px -5px rgba(255, 107, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(255, 107, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE5CC 50%, #FF9F4A 100%);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  animation: backgroundPulse 10s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Partículas de fondo deportivo */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 159, 74, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 140, 46, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
  animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition-bounce);
  filter: drop-shadow(0 4px 6px rgba(255, 107, 0, 0.3));
}

.logo-img:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 6px 12px rgba(255, 107, 0, 0.4));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--sport-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--sport-gradient);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

/* Main Content */
.main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--sport-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(255, 107, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: titleSlide 0.8s ease-out;
}

@keyframes titleSlide {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 400;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-card-icon {
  font-size: 1.8rem;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Radio Cards */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 3px solid var(--gray-light);
  border-radius: 15px;
  transition: var(--transition);
  background: var(--white);
}

.radio-card input[type="radio"]:checked + .radio-content {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 159, 74, 0.1));
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.radio-icon {
  font-size: 2rem;
  transition: var(--transition);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-icon {
  transform: scale(1.2);
}

.radio-text {
  display: flex;
  flex-direction: column;
}

.radio-text strong {
  font-size: 1.1rem;
  color: var(--dark);
}

.radio-text span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Distancias */
.distancia-item {
  background: var(--gray-light);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  animation: slideUp 0.4s ease-out;
}

.distancia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.distancia-header h4 {
  font-size: 1.1rem;
  color: var(--dark);
}

.btn-remove {
  background: var(--danger);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remove:hover {
  background: #DC2626;
  transform: rotate(90deg);
}

.btn-add-distance {
  width: 100%;
  padding: 1rem;
  background: var(--sport-gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-add-distance:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.btn-add-distance span {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Buttons */
.btn-primary {
  padding: 1.25rem 3rem;
  background: var(--sport-gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-icon {
  font-size: 1.3rem;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Resultado Cotización */
.resultado-cotizacion {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.6s ease-out;
}

.resultado-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--gray-light);
}

.resultado-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.evento-info {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 159, 74, 0.08));
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary);
  transition: var(--transition);
}

.evento-info:hover {
  border-left-width: 8px;
  transform: translateX(3px);
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
  margin-top: 0.25rem;
}

.desglose-costos {
  margin: 2rem 0;
}

.desglose-costos h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.costo-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
  gap: 1rem;
}

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

.costo-label {
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
}

.costo-valor {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.totales {
  background: var(--gray-light);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.total-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1.2rem;
}

.total-item.final {
  border-top: 3px solid var(--primary);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--sport-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Historial */
.historial-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.historial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.historial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Botones de acción en historial */
.btn-accion {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-pdf {
  background: var(--primary);
  color: var(--white);
}

.btn-pdf:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow);
}

.btn-editar {
  background: var(--secondary);
  color: var(--white);
}

.btn-editar:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow);
}

.btn-duplicar {
  background: var(--accent);
  color: var(--white);
}

.btn-duplicar:hover {
  background: var(--primary-light);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow);
}

.btn-eliminar {
  background: var(--danger);
  color: var(--white);
  padding: 0.5rem 0.75rem;
}

.btn-eliminar:hover {
  background: #DC2626;
  transform: translateY(-2px);
}

/* Indicador de edición */
.editando-indicador {
  background: linear-gradient(135deg, rgba(26, 147, 111, 0.1), rgba(22, 163, 74, 0.1));
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Config List */
.config-list {
  display: grid;
  gap: 1rem;
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 10px;
}

.config-info {
  display: flex;
  flex-direction: column;
}

.config-name {
  font-weight: 600;
  color: var(--dark);
}

.config-detail {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Precios Admin */
.precios-admin {
  display: grid;
  gap: 1rem;
}

.precio-item {
  display: grid;
  grid-template-columns: 1fr 150px 100px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 10px;
}

.precio-label {
  font-weight: 600;
  color: var(--dark);
}

.precio-input {
  padding: 0.5rem;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.precio-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.precio-unidad {
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.footer p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .historial-container {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Animaciones adicionales */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Animaciones deportivas adicionales */
@keyframes dashAction {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

@keyframes energyPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.6);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Aplicar animaciones a elementos */
.form-card:nth-child(odd) {
  animation: slideInLeft 0.6s ease-out;
}

.form-card:nth-child(even) {
  animation: slideInRight 0.6s ease-out;
}

.historial-card {
  animation: zoomIn 0.5s ease-out;
}

.form-card:hover {
  animation: energyPulse 2s ease-in-out infinite;
}

/* Efecto de velocidad en botones */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
  animation: dashAction 1s ease-in-out infinite;
}

/* Gradiente animado de fondo */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 237, 0.98), rgba(255, 255, 255, 0.98));
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

/* Estilos para cotización profesional */
.cotizacion-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 78, 137, 0.1));
  border-radius: 15px;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary);
}

.logo-section h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.cotizacion-meta {
  text-align: right;
}

/* Tabla profesional de cotización */
.tabla-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabla-cotizacion {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

.tabla-cotizacion thead {
  background: var(--sport-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.tabla-cotizacion thead::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.tabla-cotizacion th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tabla-cotizacion th:nth-child(2),
.tabla-cotizacion th:nth-child(3),
.tabla-cotizacion th:nth-child(4),
.tabla-cotizacion th:nth-child(5) {
  text-align: right;
}

.tabla-cotizacion tbody tr {
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.tabla-cotizacion tbody tr:hover {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.08), rgba(255, 159, 74, 0.08));
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.tabla-cotizacion tbody tr:last-child {
  border-bottom: none;
}

.tabla-cotizacion td {
  padding: 1rem;
  color: var(--dark);
}

.tabla-item {
  font-weight: 600;
}

.tabla-cantidad,
.tabla-unidad,
.tabla-precio,
.tabla-total {
  text-align: right;
  white-space: nowrap;
}

.tabla-cantidad {
  color: var(--secondary);
  font-weight: 600;
}

.tabla-unidad {
  color: var(--gray);
  font-size: 0.9rem;
}

.tabla-precio {
  color: var(--accent);
}

.tabla-total {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Totales mejorados */
.totales-box {
  background: linear-gradient(135deg, rgba(0, 78, 137, 0.05), rgba(255, 107, 53, 0.05));
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid var(--gray-light);
}

.total-item.destacado {
  border-top: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  padding: 1rem 0;
  font-weight: 700;
  color: var(--secondary);
}

/* Responsive para tabla */
@media (max-width: 768px) {
  .tabla-cotizacion {
    font-size: 0.85rem;
  }
  
  .tabla-cotizacion th,
  .tabla-cotizacion td {
    padding: 0.75rem 0.5rem;
  }
  
  .cotizacion-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cotizacion-meta {
    text-align: left;
  }
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.loading-container {
  background: var(--white);
  padding: 3rem 4rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: zoomIn 0.4s ease-out;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--gray-light);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  background: var(--sport-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-subtext {
  font-size: 1rem;
  color: var(--gray);
  margin: 0;
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}
