/* Adaptación móvil — flujo de banca en línea */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .super-container,
  .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #top {
    padding: 0 12px;
    box-sizing: border-box;
  }

  #top #logo img {
    max-width: 100%;
    height: auto;
  }

  #rif {
    float: none !important;
    text-align: center;
    margin: 8px 0 0 !important;
    width: 100% !important;
  }

  #box-login,
  #box-login2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px auto !important;
    padding: 18px 14px 24px !important;
    box-sizing: border-box;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row::before,
  .row::after {
    display: none;
  }

  [class*="span"] {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  #header-login h1 {
    font-size: 20px !important;
    line-height: 1.25;
    text-align: center;
  }

  #header-login h1 span {
    display: block;
    margin-top: 4px;
  }

  input[type="text"],
  input[type="password"],
  .input_login,
  .input_contrasena,
  .sms-code-input {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  table {
    max-width: 100%;
  }

  #footer {
    padding: 12px;
    font-size: 11px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .button,
  .envio_formulario {
    display: inline-block;
    margin-bottom: 8px;
  }

  .espera-box {
    max-width: 100% !important;
    padding: 16px 12px 28px !important;
  }
}
