/* Estilos de la página de descargas de Sphere Migrator: una tarjeta centrada, sin dependencias. */

:root {
  --fondo: #f3f5f8;
  --tarjeta: #ffffff;
  --texto: #1c2430;
  --tenue: #5b6675;
  --acento: #1f5fbf;
  --acento-oscuro: #184c99;
  --borde: #d6dce5;
  --error-fondo: #fdecec;
  --error-texto: #8a1c1c;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--fondo);
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.tarjeta {
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 2rem;
  max-width: 34rem;
  width: 100%;
  box-shadow: 0 4px 18px rgb(0 0 0 / 6%);
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

.subtitulo,
.nota {
  color: var(--tenue);
  font-size: 0.92rem;
}

.botones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}

button {
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--borde);
  background: var(--tarjeta);
  color: var(--texto);
  cursor: pointer;
}

button:hover:not(:disabled) {
  border-color: var(--acento);
}

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

button.principal {
  background: var(--acento);
  border-color: var(--acento);
  color: #ffffff;
  font-weight: 600;
}

button.principal:hover:not(:disabled) {
  background: var(--acento-oscuro);
}

button.enlace {
  border: none;
  background: none;
  padding: 0;
  color: var(--acento);
  text-decoration: underline;
}

.aviso {
  background: var(--error-fondo);
  color: var(--error-texto);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
