*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-page: rgba(44, 60, 99, 0.9);   /* fondo general */
    --bg-card: #2c3c63;                 /* fondo de las tarjetas */
    --bg-card-alt: #344473;             /* contraste más claro */
    --text-main: #ffffff;               /* texto principal */
    --text-dim: #d1d5db;                /* texto secundario */
    --accent: #fba314;                  /* color dorado */
    --border-color: rgba(251, 163, 20, 0.5); /* borde dorado translúcido */
    --radius-lg: 16px;
    --radius-sm: 8px;
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.4);
    --font-main: 'Arial', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    padding: 2rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.div_logo{
    height: 100px;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.div_logo > img{
    display: block;
    height: 100%;
}

.small_1{
    margin-top: 5px;
}

.header {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.header p {
    font-size: 1rem;
    color: var(--text-dim);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    #precios-unitarios,
    #plantilla-mensaje {
        grid-column: span 2;
    }
}

.card {
    background-color: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.4rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.field-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.field-group small {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.4;
}

input[type="text"],
input[type="number"],
select,
textarea {
    background-color: var(--bg-card-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

input[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}

textarea {
    min-height: 160px;
    resize: vertical;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(251, 163, 20, 0.3);
}

.wallet-box {
    background-color: var(--bg-card-alt);
    color: var(--accent);
    font-family: monospace;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    word-break: break-all;
}

.price-block {
    background-color: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}

.price-block h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.price-block p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.price-block strong {
    color: var(--accent);
}

.calculo-ejemplo {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

.wallet-reminder {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.45;
    margin-top: 0.75rem;
}

.validez {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

/* ---------- Botones Reental ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px 0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background-color: #2c3c63;           /* azul base */
  border: 3px solid #fba314;           /* borde dorado */
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  width: 190px;
}

/* Hover elegante con brillo dorado */
.btn:hover {
  background-color: #344c7a;
  border-color: #ffc43d;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4), 0 0 12px rgba(251,163,20,0.5);
}

/* Botón con gradiente opcional */
.btn-gradient {
  background: linear-gradient(135deg, #2c3c63 0%, #3f5082 50%, #2c3c63 100%);
}

/* Botón acento dorado (para CTA principal) */
.btn-gold {
  background-color: #fba314;
  border-color: #fba314;
  color: #2c3c63;
}
.btn-gold:hover {
  background-color: #ffc43d;
  border-color: #ffc43d;
  color: #000;
  box-shadow: 0 4px 14px rgba(251,163,20,0.6);
}

/* Botón deshabilitado */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Espaciado entre botones */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.todo_contenedor_status{
    display: flex;
    flex-direction: row;
}

.contenedor_status{
    padding: 7px 0 0 0;
    display: flex;
    flex-direction: column;
    width: 40%;
}

.resultado_status{
    width: 60%;
    padding: 7px 0 0 0;
    display: flex;
    justify-content: center;    
    align-items: center; 
}

.resultado_status > p{
    display: block;
}

.price {
    font-size:1.6rem;
    font-weight:600;
    margin-top:10px;
}

.info {
    font-size:1rem;
    color:#d1d5db;
    margin-top:5px;
}

.boton_calculo{
    display: flex;
    justify-content: center;
}

.footer {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto 0 auto;
    padding-top: 2rem;
    border-top: 2px solid var(--accent);
    text-align: center;
    color: var(--text-main);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}