body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #20272f 0%, #232c43 100%);
  color: #f3f7fa;
  position: relative;
  overflow-x: hidden;
}
.particles {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(80,210,255,0.06) 1px, transparent 1px), 
    radial-gradient(rgba(40,100,250,0.13) 2px, transparent 2px);
  background-size: 28px 28px, 90px 90px;
  background-position: 0 0, 20px 10px;
  animation: moveParticles 13s linear infinite alternate;
}
@keyframes moveParticles {
  to { background-position: 100px 40px, 60px 100px;}
}
.container-glass {
  max-width: 700px;
  margin: 32px auto;
  padding: 10px 0 32px 0;
  z-index: 2;
  position: relative;
}
.glass-panel {
  background: rgba(33, 39, 61, 0.59);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  border: 1.6px solid rgba(79,215,254,0.17);
  padding: 22px 24px 26px 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.22s;
}
.glass-header {
  text-align: center;
  background: rgba(33, 42, 73, 0.63);
  border-bottom: 2px solid #35bbff45;
  box-shadow: 0 4px 14px 0 rgba(44,140,255,0.06);
}
.section-title {
  color: #39b0fa;
  font-size: 1.14em;
  margin-bottom: 18px;
  font-weight: 700;
}
.accent { color: #4fd7fe; }
.pro-badge {
  background: linear-gradient(90deg,#4fd7fe 30%,#11f5c1 95%);
  color: #122336;
  font-weight: 700;
  font-size: 0.93em;
  border-radius: 13px;
  padding: 2px 11px 2px 10px;
  margin-left: 7px;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 8px #44fffe40;
}
.input-glass, input[type="number"].input-glass {
  background: rgba(255,255,255,0.07);
  color: #e9f5ff;
  border: 1.2px solid #59d5fc44;
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 1em;
  outline: none;
  margin: 3px 0 7px 0;
  font-family: inherit;
  box-shadow: 0 1px 8px #1adfff18 inset;
  transition: border-color 0.18s, box-shadow 0.23s;
}
.input-glass:focus {
  border-color: #3fd1fa;
  box-shadow: 0 3px 18px #5bcaff52, 0 0px 2px #18ffe822;
  background: rgba(255,255,255,0.11);
}
.layer-config {
  background: none;
  border: none;
  border-radius: 18px;
  margin: 12px 0;
  color: #e6f6fa;
  font-size: 1em;
  padding: 0;
}
.preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 10px 0;
  min-height: 340px;
}
#svgPreview {
  background: rgba(33,39,61,0.35);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(44, 230, 255, 0.07);
  border: 1.8px solid #2ef0f045;
  max-width: 520px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  transition: box-shadow 0.23s;
}
#pltLegend {
  background: rgba(38,46,65,0.39);
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 12px;
  box-shadow: 0 3px 16px #22c8e229;
  color: #d0f2ff;
  font-size: 0.99em;
}
.campo-costo label { font-weight: 500; }
.tooltip-glass {
  cursor: pointer;
  color: #4fd7fe;
  border-radius: 50%;
  border: 1.3px solid #4fd7fe44;
  font-size: 0.97em;
  padding: 0 6px;
  background: #1e2749aa;
  margin-left: 5px;
  vertical-align: middle;
  transition: background 0.18s, color 0.19s;
}
.tooltip-glass:hover { background: #39b0fa33; color: #fff; }
.btn-glass {
  background: linear-gradient(90deg,#2ee6f7 30%,#3ad3f5 95%);
  color: #193f4e;
  border: none;
  border-radius: 12px;
  padding: 6px 16px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 14px #21b8c540;
  transition: background 0.19s, box-shadow 0.21s;
}
.btn-glass:hover { background: #18e6d6; color: #122336; }
.glass-resumen {
  background: rgba(44,226,255,0.12);
  border: 1.5px solid #4fd7fe55;
  border-radius: 20px;
  padding: 18px 23px;
  margin: 18px 0 5px 0;
  font-size: 1.16em;
  color: #e8fdff;
  box-shadow: 0 2px 24px #1dedea22;
}
.footer-glass {
  background: rgba(33, 44, 73, 0.59);
  border-radius: 18px;
  padding: 13px 0 12px 0;
  margin-top: 34px;
  text-align: center;
  font-size: 1em;
  color: #9bf7ff;
}
.footer-link { color: #47f2f7; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .container-glass { max-width: 98vw; }
  .glass-panel { padding: 10px 5vw 14px 5vw; }
  #svgPreview { max-width: 99vw; min-height: 160px; }
}
.btn-glass.pulse {
  animation: pulse-glow 1.2s infinite alternate;
  box-shadow: 0 0 16px #21e6fb77, 0 1px 20px #35eaff60;
  border-color: #18ffe2 !important;
  color: #18ffe2 !important;
}

@keyframes pulse-glow {
  from { box-shadow: 0 0 10px #39e7fc33; }
  to   { box-shadow: 0 0 32px #21e6fbcc, 0 0 24px #2fffe4cc; }
}
#resumenCotizacion {
  margin: 20px auto;
  max-width: 500px;
}
