body{
    background-color: #f7f7f7;
}
.container-ipc{
  margin-top: 3rem;
    border: solid 1px #ddd;
    padding: 1rem;
    border-radius: 15px;
    background-color: #fff;
    margin-bottom: 2rem;
}
.ipc{
  color: #283d46;
}
.aniversario-70{
  background-color: #FCF2DC; 
  border-bottom: solid 1px #ddd;
}
.ilustracion{
  filter: drop-shadow(2px 4px 6px rgba(88, 88, 88, 0.2));
}
    /* Estilo adicional para ayudar visualmente */
    .monto-actualizado-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .monto-box {
        padding: 1rem;
        border-radius: 8px;
        background-color: #f8f9fa;
        text-align: center;
        min-width: 120px;
    }

    /* .arrow {
        font-size: 1.1rem;
        margin: 0 1rem;
    } */

    .otros-resultados-container {
        margin-top: 1.5rem;
    }

    .otro-resultado-item {
        margin-bottom: 1rem;
    }

    /* Ícono de ayuda */
    .help-icon {
        font-weight: bold;
        border: 1px solid #0d6efd;
        border-radius: 50%;
        padding: 0.2rem 0.5rem;
        cursor: pointer;
        color: #0d6efd;
    }
    .text-primary{
        color: #05a14c !important;
    }

    .help-text {
        font-size: 0.875rem;
        color: #6c757d;
    }

    button {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 12px 25px;
    /* background-color: var(--primary-color); */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: var(--shadow-light);
    width: 100%;
}

.btn-primary{
    background-color: #283d46 !important;
    color: #fff !important;
    border-color: #283d46 !important;
}
.btn-primary:hover{
    background-color: #3e4c52;
    color: #fff;
}
.btn-primary:active{
    background-color: #495458 !important;
    color: #fff !important;
    border-color: #283d46 !important;
}
.btn:focus-visible{
  background-color: #283d46 !important;
    color: #fff !important;
    border-color: #283d46 !important;

}


input[type="text"]{
    background-color: #f7f7f7;
    border: 2px solid #ddd;
}
.form-select{
    background-color: #f7f7f7;
}




    /* Resultado estilo tarjeta (inspirado en la imagen) */
.result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* fila superior: monto original -> flecha -> monto ajustado */
.result-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

/* tarjeta clara (original) */
.result-card {
  flex: 1 1 45%;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(20,20,20,0.05);
  border: 2px solid #ddd;
  background: #f7f7f7;
  text-align: center;
}

/* tarjeta oscura (ajustada) */
.result-card.dark {
  background: linear-gradient(180deg,#283d46 0%, #22333a 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 5px 15px rgba(34,51,58,0.25);
  text-align: center;
}

/* texto de período (arriba del monto) */
.result-period {
  font-size: 0.95rem;
  font-weight: bold;
  color: #303131; /* gris */
  margin-bottom: 8px;
}

/* monto grande */
.result-amount {
  font-size: 1.35rem;
  font-weight: 700;
}

/* flecha central */
.result-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 2rem;
  color: #6c8a6f; /* verde suave */
  animation: bounce-right 1.5s infinite
}

@keyframes bounce-right {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}
/* fila inferior: pequeñas tarjetas con border-top parecido */
.result-bottom {
  display: flex;
  /* flex-direction: column; */
  gap: 1rem;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* pequeñas tarjetas */
.card-small {
  flex: 1 1 45%;
  border-radius: 10px;
  padding: 18px 14px;
  border: 2px solid #ddd;
  background: #f7f7f7;
  box-shadow: 0 6px 12px rgba(18,18,18,0.04);
  text-align: center;
}
.card-small p{
    font-weight: bold;
}

/* título pequeño y contenido */
.card-small p { margin: 0; color: #6c757d; font-size: 0.95rem; }
.card-small .value {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 6px;
  color: #2B3E4C;
}

/* valor inflacion en verde */
.value.success { color: #05a14c; }

/*estilo personalizados del accordion*/
.accordion-button:not(.collapsed) {
  background-color: #e6e6e6 !important;
}

/* Responsive: en pantallas chicas apilar */
@media (max-width: 767px) {
  .result-top { flex-direction: column; align-items: stretch; }
  /* .result-arrow { transform: rotate(90deg); margin: 0.25rem 0; } */
  .result-arrow { transform: rotate(90deg); margin: 0.25rem 0;animation: none; }
  
  .card-small { flex-basis: 100%; }
}


    /* Responsive tweak for small screens */
    @media (max-width: 576px) {
        .monto-actualizado-container {
            flex-direction: column;
            gap: 1rem;
        }

        .arrow {
            transform: rotate(90deg);
        }
    }

