@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*
Generic Styling, for Desktops/Laptops
*/

@media only screen and (min-width: 800px) {
  body {
    background-image: radial-gradient(#9d9d98, rgb(225, 225, 211));
    /*background: #f4f47b*/
    animation: fadeInAnimation ease 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .bienvenido {
    text-align: center;
    margin: auto;
    font-size: 20px;
    color: red;
  }

  .cursor {
    cursor: default;
    color: #0016b0;
    /*text-decoration: underline;*/
  }

  /** alertify **/

  .alertify .ajs-header {
    margin: -24px;
    margin-bottom: 0;
    padding: 16px 24px;
    background-color: #1e546f;
    color: #fff;
  }

  .alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 1px #ddd;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    background: rgba(91, 189, 114, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    background: rgba(217, 92, 92, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-warning {
    background: rgba(252, 248, 215, 0.95);
    border-color: #999;
    border-radius: 10px;
  }

  .alertify .ajs-footer {
    padding: 4px;
    margin-left: -24px;
    margin-right: -24px;
    min-height: 43px;
    background-color: #fff;
  }

  alertify .ajs-body .ajs-content {
    padding: 16px 24px 16px 16px;
    font-weight: bold;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button {
    margin: 4px;
    background-color: #a8b5bb;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button:hover {
    margin: 4px;
    background-color: #99cfea;
  }
  .alertify .ajs-footer .ajs-buttons .ajs-button {
    /* min-width: 88px;
        min-height: 35px;*/
    color: blue;
  }

  .logo-login {
    width: 100px;
    margin: inherit;
    height: 100px;
    margin-left: 85%;
    /* z-index: 50; */
    position: fixed;
  }

  /* Para la version de la aplicacion */
  .version {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  /* Para las alertas */
  .alert:empty {
    display: none;
  }
  .alert {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .imagenIndex {
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  .contenedor {
    background-color: #afaeb5;
    border-radius: 5%;
    border: 10px solid;
    border-image: linear-gradient(to right, #7b6161, #8e9f8e);
    border-image-slice: 1;
    width: fit-content;
    /*min-width: fit-content;*/
    padding: 10px;
    margin: auto;
  }

  .contenedor:hover {
    border: 10px solid;
    background-color: #c3c2c6;
    border-image: linear-gradient(to right, #8e9f8e, #7b6161);
    border-image-slice: 1;
  }

  .form-login {
    top: 20px;
    position: absolute;
    width: 20%;
    top: 28rem;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5%;
  }

  span {
    margin: 0px;
    padding: 0px;
    border: 0px;
    font: inherit;
    vertical-align: baseline;
  }

  .mantenimiento_form_style {
    background-color: #834d4d;
    border-radius: 20px;
    border: 1px solid black;
    margin-bottom: 10px;
  }

  .mantenimiento_form_style .form-label-forms {
    color: white;
  }
  .form-label-login {
    font-size: 20px;
    font-weight: bold;
  }

  .form-input-login {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 35px;
  }

  .form-label-forms {
    font-size: 20px;
    font-weight: bold;
  }

  .form-input-forms {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 35px;
    width: 100%;
  }

  .form-textarea-forms {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 100px;
    width: 100%;
    margin-bottom: 10px;
  }

  .wrapperMensajeCookie {
    bottom: 0;
    padding-top: 1px;
    position: fixed;
    width: 30%;
    position: fixed;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }

  .wrapperMensajeCookie .inner {
    padding: 5px 0;
  }

  .wrapperMensajeCookie .textoLegalCookie {
    background-color: #f1f1f1;
    border: 1px solid #fae3e5;
    border-radius: 4px 4px 4px 4px;
    margin: 0 auto;
    max-width: 85%;
    padding: 7px 37px 7px 17px;
    position: relative;
  }

  .wrapperMensajeCookie .textoLegalCookie p strong {
    background: url(../images/exclamation.png) no-repeat scroll 0 3px
      transparent;
    display: block;
    font-weight: bold;
    line-height: 19px;
    margin-bottom: 3px;
    padding-left: 19px;
  }

  .wrapperMensajeCookie .textoLegalCookie a.cerrarTextoLegalCookie {
    background: url(../images/close.png) no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 100%;
    top: 12px;
    white-space: nowrap;
    width: 16px;
  }

  .bienvenido {
    margin: auto;
  }

  .one-more-block {
    /*display: inline-flex;
        align-items: flex-end;*/
    position: relative;
    display: inline;
    align-items: flex-end;
    width: 100%;
  }

  input[type="password"] {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 13px;
    height: 35px;
    width: 100%;
  }
  /*sh-password se utiliza para colocar la imagen de ver contraseña
    dentro de un input */
  .inner-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }

  nav ul {
    padding: 0px;
    margin-left: 34%;
  }

  nav input {
    background-color: #2175bc;
    color: #fff;
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  /*** LABEL ***/
  nav label {
    text-align: center;
    color: grey;
    font-size: 30px;
    cursor: pointer;
    display: block;
    padding: 0.5em;
  }

  nav ul li {
    display: inline;
  }

  nav li a {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    float: left;
    padding: 5px;
    display: block;
    margin-left: 10px;
    margin-right: auto;
  }

  nav li a:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .login {
    margin-top: 10px;
    margin-left: auto;
  }

  .tablaMovimientos {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 3%;
  }

  .tablaMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaActas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 3%;
  }

  .tablaActas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaActas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaActas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaActas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaActas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaActas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tabla_mov_cuenta {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 2%;
  }

  .tabla_mov_cuenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_mov_cuenta tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_mov_cuenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_mov_cuenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_mov_cuenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_mov_cuenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /* gastos_fijos.php*/

  .tablaGastosFijos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaGastosFijos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosFijos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaGastosFijos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastosFijos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastosFijos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosFijos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .descGastosFijos {
    text-align: left;
    margin-left: 30%;
  }

  /** debitos.php **/
  .tablaDebitos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaDebitos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaDebitos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaDebitos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaDebitos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaDebitos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaDebitos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /* Tareas.php*/
  .tablaTareas {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaTareas table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    width: 70%;
  }

  .tablaTareas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaTareas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaTareas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaTareas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaTareas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaTareas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaTareas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaContactos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaContactos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    width: 70%;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaContactos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaContactostbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .mainTable {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .mainTable table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 25%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .mainTable caption,
  td,
  th {
    padding: 0.3em;
  }

  .mainTable tbody th:not(.title) {
    background-color: #1883ba;
    color: white;
    font-size: 20px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .mainTable tbody th {
    background-color: #25ba18;
    color: white;
    font-size: 30px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .mainTable tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .mainTable tbody td a:not(.boton_eliminar) {
    font-size: 20px;
    color: blue;
  }

  .mainTable tbody tr:hover {
    background-color: #c2b1b1;
  }

  .mainTable caption {
    font-weight: bold;
    font-style: italic;
  }

  .mainTable tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaExtra {
    overflow: auto;
    height: auto;
    width: 65%;
    margin: auto;
  }

  .tablaExtra table {
    border-collapse: collapse;
    margin: auto;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    color: black;
    margin-top: 20px;
  }

  .tablaExtra caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaExtra tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  /*** Tabla para extras***/
  .tablaExtra tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaExtra tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaExtra tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaExtra caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaExtra tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Vista Anual Conceptos ***/
  .tablaVistaConceptos {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 40%;
  }

  .tablaVistaConceptos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaConceptos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaConceptos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    font-size: 16px;
  }

  .tablaVistaConceptos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaConceptostbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaConceptos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaConceptos tfoot th {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla de Extras/Vistas ***/
  .tablaMeses {
    overflow: auto;
    height: auto;
    width: auto;
    left: 40%;
    position: relative;
    color: black;
  }

  .tablaMeses table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    /*padding: 5px 10px;*/
    text-align: center;
  }

  .tablaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMeses tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMeses tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaMeses tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMeses tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos tabla gastos categorias viajes/gastos.php ***/
  .tablaGastosCategorias {
    overflow: auto;
    height: auto;
    width: 23%;
    margin-left: -37%;
    margin-top: 20px;
    float: left;
  }

  .tablaGastosCategorias table {
    border: 1px solid #999;
    border-collapse: collapse;
    caption-side: top;
    width: 32%;
    padding: 5px 5px;
    margin: auto;
    text-align: center;
    color: black;
  }

  .tablaGastosCategorias caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosCategorias tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosCategorias tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosCategorias tbody tr:hover {
    background-color: #c2b1b1;
    font-size: 20px;
    font-weight: bold;
    color: rgb(66, 20, 3);
  }

  .tablaGastosCategorias caption {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
  }

  .tablaGastosCategorias tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para plantillas ***/
  .tabla_plantillas {
    overflow: auto;
    height: auto;
    width: 90%;
    padding-top: 2%;
  }

  .tabla_plantillas table {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_plantillas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_plantillas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_plantillas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_plantillas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_plantillas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas vivienda.php***/
  .tablaViviendas {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaViviendas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 70%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaViviendas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaViviendas tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaViviendas tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    white-space: nowrap;
  }

  .tablaViviendas tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaViviendas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaViviendas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas contactos.php***/
  .tablaContactos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaContactos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaContactos tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla search.php***/
  .tablaSearchMovimientos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaSearchMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaSearchMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaSearchMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaSearchMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaSearchMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaSearchMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaSearchMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaSearchMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Movimientos/vista***/
  .tablaVistaAnual {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 56%;
  }

  .tablaVistaAnual table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaAnual caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaAnual tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaVistaAnual tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    font-size: 14;
    font-weight: bold;
  }

  .tablaVistaAnual tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaAnual caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaAnual tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla meses Movimientos/vista ***/
  .tableVistaMeses {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 55%;
  }

  .tableVistaMeses table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 70%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tableVistaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tableVistaMeses tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tableVistaMeses tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tableVistaMeses tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tableVistaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tableVistaMeses tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Ingresos Movimientos/meses_actuales ***/
  .tablaIngresoMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 40%;
  }

  .tablaIngresoMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: #f8f8f8;
    font-size: 12px;
  }

  .tablaIngresoMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresoMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresoMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresoMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaIngresoMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresoMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla categorias meses_actuales ***/
  .tablaCategoriasMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 26%;
  }

  .tablaCategoriasMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaCategoriasMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaCategoriasMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaCategoriasMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    padding: inherit;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaCategoriasMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaCategoriasMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaCategoriasMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Gastos Movimientos/meses_actuales ***/
  .tablaGastosMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaGastosMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaGastosMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaGastosMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla para mantenimientos.php***/
  .TablaMantenimiento {
    overflow: auto;
    height: auto;
    width: auto;
    color: black;
  }

  .TablaMantenimiento table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 50%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .TablaMantenimiento caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaMantenimiento tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 20px;
    text-align: center;
  }

  .TablaMantenimiento tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaMantenimiento tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaMantenimiento caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaMantenimiento tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  #supermercado_mes {
    background-color: olive;
  }

  #extra_mes {
    background-color: olive;
  }

  h1,
  h2 {
    text-align: center;
    color: maroon;
    margin-left: 0%;
  }

  .descripcion-page {
    text-align: center;
  }

  input {
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  #search {
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  textarea {
    width: 100%;
    height: 10%;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
    resize: yes;
  }

  select {
    width: 12%;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  #imagen {
    margin-left: auto;
    margin-right: auto;
  }

  #base {
    text-align: center;
  }

  .picture {
    width: 50px;
    height: 50px;
  }

  .picture {
    position: relative;
    z-index: 0;
    font: 12px verdana;
  }

  .picture:hover {
    background-color: transparent;
    z-index: 50;
  }

  .picture span {
    position: absolute;
    background-color: #eaeaea;
    padding: 5px;
    left: -1000px;
    border: 1px dashed #999;
    visibility: hidden;
    color: black;
    text-decoration: none;
  }

  .picture span img {
    border-width: 0;
    padding: 2px;
  }

  .picture:hover span {
    visibility: visible;
    top: 0;
    left: 60px;
  }

  p {
    margin-left: 0%;
  }

  #menu {
    margin-left: 0%;
  }

  #log_out {
    float: right;
  }

  .contenedor_form {
    width: fit-content;
    background-color: black;
  }

  /* Botones */

  .button_login[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 13px;
    border: 2px solid #b0b1b8;
    width: 50%;
    text-align: center;
    cursor: pointer;
  }

  .button_login {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 13px;
    border: 2px solid #b0b1b8;
    width: 80%;
    text-align: center;
    display: block;
    cursor: pointer;
  }

  .button_register[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: max-content;
    cursor: pointer;
  }

  .button_register[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_register[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_register[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_reset[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_reset[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_reset[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_reset[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  input[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  span[type="button"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline;
    margin: 0.5em 0;
    font-size: 15px;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 80%;
    border-radius: 20px;
    display: block;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    cursor: pointer;
  }

  .button_login:hover {
    color: #1883ba;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  #log_out_button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #log_out_button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_menu {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_menu:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_eliminar {
    text-decoration: none;
    padding: unset;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_eliminar:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_mov {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    cursor: pointer;
    margin-right: 10px;
  }

  .button_mov:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: 20px;
  }

  .button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*input[type="reset" i] {
        text-decoration: none;
        padding: 5px;
        font-weight: 600;
        font-size: 12px;
        color: #ffffff;
        background-color: #1883ba;
        border-radius: 6px;
        border: 2px solid #0016b0;
    }

    input[type="reset" i]:hover {
        color: #1883ba;
        background-color: #ffffff;
    }*/

  /*Paginador*/
  .paginador {
    margin-left: auto;
  }

  .paginador ul {
    /*padding: 15px;*/
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
    /* margin-right: 15% */
  }

  .paginador a,
  .pageSelected {
    color: #428bca;
    border: 1px solid #ddd;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 35px;
  }

  .paginador a:hover {
    background: #c2b1b1;
  }

  .pageSelected {
    color: #fff;
    background: #428bca;
    border: 1px solid #428bca;
  }

  /*Paginador (Para eliminar)*/

  .paginadorMovimientos {
    margin-left: auto;
  }

  .paginadorMovimientos ul {
    /*padding: 15px;*/
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
    /* margin-right: 15% */
  }

  .paginadorMovimientos a,
  .pageSelectedMovimientos {
    color: #428bca;
    border: 1px solid #ddd;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 35px;
  }

  .paginadorMovimientos a:hover {
    background: #c2b1b1;
  }

  .pageSelectedMovimientos {
    color: #fff;
    background: #428bca;
    border: 1px solid #428bca;
  }

  .TextBoxTicker {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #428bca;
    width: 120%;
  }

  .footer {
    position: fixed;
    bottom: 0px;
    z-index: 2000;
    left: 30%;
  }
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (max-width: 800px) {
  body {
    background-color: #ffe4c4;
    animation: fadeInAnimation ease 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .bienvenido {
    text-align: center;
    margin: auto;
    font-size: 20px;
    color: red;
  }

  .login {
    margin-top: 10px;
    margin-left: auto;
  }

  /** alertify **/

  .alertify .ajs-header {
    margin: -24px;
    margin-bottom: 0;
    padding: 16px 24px;
    background-color: #1e546f;
    color: #fff;
  }

  .alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 1px #ddd;
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    font-weight: bold;
    background: rgba(91, 189, 114, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    font-weight: bold;
    background: rgba(217, 92, 92, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-warning {
    background: rgba(252, 248, 215, 0.95);
    border-color: #1e546f;
    font-weight: bold;
    border-radius: 10px;
  }

  .alertify .ajs-footer {
    padding: 4px;
    margin-left: -24px;
    margin-right: -24px;
    min-height: 43px;
    background-color: #fff;
    border-color: #1e546f;
  }

  alertify .ajs-body .ajs-content {
    padding: 16px 24px 16px 16px;
    font-weight: bold;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button {
    margin: 4px;
    background-color: #a8b5bb;
    border-color: #1e546f;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button:hover {
    margin: 4px;
    background-color: #99cfea;
    border-color: #fff;
  }
  .alertify .ajs-footer .ajs-buttons .ajs-button {
    /* min-width: 88px;
        min-height: 35px;*/
    color: #1e546f;
  }

  .version {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .alert {
    display: none;
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .button_first {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-right: 10px;
  }

  .button_first:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_second {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .button_second:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_login {
    text-decoration: none;
    padding: 10px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .button_login:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*img {
        margin-top: 10px;
        max-width: 100%;
        height: auto;
    }*/

  .hide-on-mobile {
    display: none;
  }

  #nombre_archivo {
    color: red;
  }

  .imagenIndex {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .imagenIndex:hover {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 0px 0px 15px 15px #ec731e;
    -webkit-box-shadow: 0px 0px 15px 15px #ec731e;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
  }

  .imagenIndex {
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  /************************************************/
  /****************** NAVIGATION ******************/
  /************************************************/
  nav {
    background: #1883ba;
    color: #1d1f20;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 9999;
  }

  /*** INPUT ***/
  nav input {
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  /*** LABEL ***/
  nav label {
    cursor: pointer;
    display: block;
    font:
      2em/1 "Oswald",
      sans-serif;
    padding: 0.5em;
  }

  /* Hamburger Icon */
  /*#menu-icon,
    #menu-icon:before,
    #menu-icon:after {
        background: #1d1f20;
        border-radius: 0.05em;
        height: 0.2em;
        transition: all 0.2s ease-in-out;
        width: 100%;
    }

    #menu-icon {
        display: inline-block;
        margin: 0.4em 0;
        max-width: 1em;
        position: relative;
    }

    nav label #menu-icon {
        float: right;
    }

    #menu-icon:before,
    #menu-icon:after {
        content: '';
        left: 0;
        position: absolute;
    }

    #menu-icon:before {
        top: -0.4em;
    }

    #menu-icon:after {
        bottom: -0.4em;
    }*/

  .wrapperMensajeCookie {
    /* bottom: 0;
        padding-top: 22%;*/
    position: relative;
    width: 100%;
    /* margin-bottom: -15%;*/
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }

  .wrapperMensajeCookie .inner {
    padding: 5px 0;
  }

  .wrapperMensajeCookie .textoLegalCookie {
    background-color: #f1f1f1;
    border: 1px solid #fae3e5;
    border-radius: 4px 4px 4px 4px;
    margin: 0 auto;
    max-width: 85%;
    padding: 7px 37px 7px 17px;
    position: relative;
  }

  .wrapperMensajeCookie .textoLegalCookie p strong {
    background: url(../images/exclamation.png) no-repeat scroll 0 3px
      transparent;
    display: block;
    font-weight: bold;
    line-height: 19px;
    margin-bottom: 3px;
    padding-left: 19px;
  }

  .wrapperMensajeCookie .textoLegalCookie a.cerrarTextoLegalCookie {
    background: url(../images/close.png) no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 100%;
    top: 12px;
    white-space: nowrap;
    width: 16px;
  }

  /* Close Icon */
  nav input[type="checkbox"]:checked + label #menu-icon {
    background: transparent;
  }

  nav input[type="checkbox"]:checked + label #menu-icon:before {
    top: 0;
    transform: rotate(-45deg);
  }

  nav input[type="checkbox"]:checked + label #menu-icon:after {
    bottom: 0;
    transform: rotate(45deg);
  }

  /*** MENU ***/
  /* Overlay */
  nav input:checked ~ #overlay {
    background: #e5e5e5;
    bottom: 0;
    left: 0;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: -1;
  }

  /* List */
  nav ul {
    font-size: 40px;
    list-style: none;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    text-align: center;
  }

  nav input:checked ~ ul {
    margin: 1em;
    max-height: inherit;
    opacity: 1;
  }

  nav ul > li {
    margin: 0.5em 0;
  }

  nav ul a {
    color: #1d1f20 !important;
    text-decoration: none;
  }

  nav ul a:hover {
    text-decoration: underline;
  }

  #supermercado_mes {
    background-color: olive;
  }

  #extra_mes {
    background-color: olive;
  }

  .tablaActas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 7%;
  }

  .tablaActas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaActas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaActas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaActas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaActas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaActas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tabla_mov_cuenta {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 7%;
  }

  .tabla_mov_cuenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_mov_cuenta tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_mov_cuenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_mov_cuenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_mov_cuenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_mov_cuenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaMovimientos {
    overflow: auto;
    height: auto;
    width: 110%;
  }

  .tablaMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: auto;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** extra/main.php ***/
  .mainTable {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .mainTable table {
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 66%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .mainTable caption,
  td,
  th {
    padding: 0.3em;
  }

  .mainTable tbody th:not(.title) {
    background-color: #1883ba;
    color: white;
    font-size: 20px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .mainTable tbody th {
    background-color: #25ba18;
    color: white;
    font-size: 25px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .title tbody th {
    font-weight: bold;
    font-size: 25px;
  }

  .mainTable tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    width: 50%;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .mainTable tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .mainTable tbody tr:hover {
    background-color: #c2b1b1;
  }

  .mainTable caption {
    font-weight: bold;
    font-style: italic;
  }

  .mainTable tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla para extra/extra.php ***/
  .tablaExtra {
    overflow: auto;
    height: auto;
    width: 100%;
    color: black;
  }

  .tablaExtra table {
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 75%;
    padding: 5px 10px;
    text-align: center;
    margin-top: 20px;
  }

  .tablaExtra caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaExtra tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaExtra tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaExtra tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaExtra tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaExtra caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaExtra tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla de Extras/Vistas.php ***/
  .tablaMeses {
    overflow: auto;
    height: auto;
    width: auto;
    left: 45%;
    position: relative;
    color: black;
  }

  .tablaMeses table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    /*padding: 5px 10px;*/
    text-align: center;
  }

  .tablaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMeses tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMeses tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaMeses tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMeses tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMeses tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos de renta.php ***/
  .TablaRenta {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .TablaRenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 35px;
    caption-side: top;
    width: 50%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .TablaRenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaRenta tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .TablaRenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaRenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .TablaRenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaRenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaRenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .TablaResumenRenta {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .TablaResumenRenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .TablaResumenRenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaResumenRenta tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .TablaResumenRenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaResumenRenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .TablaResumenRenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaResumenRenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaResumenRenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos tabla gastos categorias viajes/gastos.php ***/
  .tablaGastosCategorias {
    overflow: auto;
    height: auto;
    width: 23%;
    margin-left: -18%;
    margin-top: 20px;
    float: left;
  }

  .tablaGastosCategorias table {
    border: 1px solid #999;
    border-collapse: collapse;
    caption-side: top;
    width: 90%;
    padding: 5px 5px;
    margin: auto;
    text-align: center;
    color: black;
  }

  .tablaGastosCategorias caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosCategorias tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosCategorias tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosCategorias tbody tr:hover {
    background-color: #c2b1b1;
    font-size: 20px;
    font-weight: bold;
    color: rgb(66, 20, 3);
  }

  .tablaGastosCategorias caption {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
  }

  .tablaGastosCategorias tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas vivienda.php ***/
  .tablaViviendas {
    overflow: auto;
    height: auto;
    width: auto;
    margin: auto;
  }

  .tablaViviendas table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaViviendas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaViviendas tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaViviendas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaViviendas tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaViviendas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaViviendas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  .tablaBeneficiosVivienda {
    overflow: auto;
    height: auto;
    width: auto;
    margin: auto;
  }

  .tablaBeneficiosVivienda table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 73%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaBeneficiosVivienda caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaBeneficiosVivienda tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaBeneficiosVivienda tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaBeneficiosVivienda tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaBeneficiosVivienda caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaBeneficiosVivienda tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para vivienda/vistas.php***/
  .vistasViviendaIngresos {
    overflow: auto;
    height: auto;
    width: 140%;
    position: relative;
    margin-left: -35%;
    z-index: -1;
  }

  .vistasViviendaIngresos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    #padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .vistasViviendaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .vistasViviendaIngresos tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .vistasViviendaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .vistasViviendaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .vistasViviendaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .vistasViviendaIngresos tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  .vistasViviendaGastos {
    overflow: auto;
    height: auto;
    width: 110%;
    position: absolute;
    margin-left: -18%;
    z-index: -1;
  }

  .vistasViviendaGastos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 78%;
    #padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .vistasViviendaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .vistasViviendaGastos tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .vistasViviendaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .vistasViviendaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .vistasViviendaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .vistasViviendaGastos tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tabla search.php ***/
  .tablaSearchMovimientos {
    overflow: auto;
    height: auto;
    width: 110%;
  }

  .tablaSearchMovimientos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: auto;
    padding: 5px 15px;
    text-align: center;
    color: black;
  }

  .tablaSearchMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaSearchMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaSearchMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaSearchMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaSearchMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaSearchMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaSearchMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
    background-color: white;
  }

  input {
    -webkit-appearance: checkbox;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
  }

  input[type="checkbox"] {
    width: 31px;
    height: 31px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    border: 1px solid #000;
    background-color: white;
  }

  input[type="radio"] {
    width: 31px;
    height: 31px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    border: 1px solid #000;
    background-color: white;
  }

  button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 1.5em 0;
    font-size: 1em;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 100%;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    background-color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }

  span[type="button"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0.5em 0;
    font-size: 16px;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 100%;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }

  textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 80px;
    line-height: 40px;
    font-size: 17px;
    border: 1px solid #bbb;
    background-color: #f8f8f8;
    font-size: 30px;
    resize: yes;
  }

  h1,
  h2 {
    text-align: center;
    color: maroon;
    margin-left: 0%;
  }

  #pic {
    padding-left: 9%;
  }

  #imagen {
    margin-left: 0%;
  }

  #base {
    margin-top: 10px;
    text-align: center;
    padding-top: 5px;
    margin-block: inherit;
  }

  p {
    margin-left: 0%;
  }

  #menu {
    margin-left: 0%;
  }

  #log_out {
    float: right;
  }

  #button_first {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #button_first:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  #button_second {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #button_second:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  #log_out_button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #log_out_button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .hide-on-mobile {
    display: none;
  }

  .boton_menu {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_menu:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_eliminar {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_eliminar:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*Botones*/
  input[type="submit" i] {
    text-decoration: none;
    padding: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: 0%;
    margin-bottom: 10px;
    width: 100%;
  }

  input[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button a {
    text-decoration: none;
    padding: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: -40px;
    margin-bottom: 10px;
  }

  .button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  input[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 22px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  input[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  label {
    font-size: 25px;
    font-weight: bold;
  }

  .one-more-block {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    width: 100%;
  }

  input[type="password"] {
    display: block;
    margin: 0;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    padding: 10px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
  }

  .inner-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .one-more-select {
    position: relative;
    margin: auto;
  }

  /*Paginador*/
  /*Paginador*/
  .paginador {
    margin-left: auto;
  }

  .paginador ul {
    padding: 15px;
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
  }

  .paginador li {
    margin-right: 5px;
  }

  .paginador li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #fff;
    color: #a1a8cd;
    border-radius: 4px;
    transition: background-color 0.3s;
  }

  .pageSelected {
    color: #fff;
    background: #428bca;
    border: 1px solid black;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .pageSelected:hover {
    color: #fff;
    background: black;
    border: 1px solid white;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .paginador a:hover {
    background: #c2b1b1;
    color: white;
  }

  /*Paginador Movimientos (Para eliminar)*/
  .paginadorMovimientos {
    margin-left: auto;
  }

  .paginadorMovimientos ul {
    padding: 15px;
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
  }

  .paginadorMovimientos li {
    margin-right: 5px;
  }

  .paginadorMovimientos li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #fff;
    color: #a1a8cd;
    border-radius: 4px;
    transition: background-color 0.3s;
  }

  .pageSelectedMovimientos {
    color: #fff;
    background: #428bca;
    border: 1px solid black;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .pageSelectedMovimientos:hover {
    color: #fff;
    background: black;
    border: 1px solid white;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .paginadorMovimientos a:hover {
    background: #c2b1b1;
    color: white;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** tablasTareas.php ***/

  .tablaTareas {
    overflow: auto;
    height: auto;
    width: auto;
    margin-left: auto;
  }

  .tablaTareas table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaTareas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaTareas tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaTareas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaTareas tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaTareas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaTareas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas contactos.php ***/
  .tablaContactos {
    overflow: auto;
    height: auto;
    width: auto;
    margin-left: auto;
  }

  .tablaContactos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaContactos tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /* gastos_fijos.php*/

  .tablaGastosFijos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaGastosFijos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosFijos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaGastosFijos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastosFijos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastosFijos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosFijos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .descGastosFijos {
    text-align: left;
    margin-left: 30%;
  }

  /** debitos.php **/

  .tablaDebitos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaDebitos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaDebitos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaDebitos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaDebitos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaDebitos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaDebitos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Movimientos/vista***/
  .tablaVistaAnual {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tablaVistaAnual table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaAnual caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaAnual tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaVistaAnual tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaAnual tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaAnual caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaAnual tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Vista Anual Conceptos ***/
  .tablaVistaConceptos {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tablaVistaConceptos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaConceptos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaConceptos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    font-size: 20px;
  }

  .tablaVistaConceptos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaConceptostbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaConceptos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaConceptos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla meses Movimientos/vista ***/
  .tableVistaMeses {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tableVistaMeses table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 75%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tableVistaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tableVistaMeses tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tableVistaMeses tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tableVistaMeses tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tableVistaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tableVistaMeses tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Ingresos Movimientos/meses_actuales ***/
  .tablaIngresoMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaIngresoMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaIngresoMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresoMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresoMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresoMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaIngresoMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresoMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla categorias Movimientos/meses_actuales ***/
  .tablaCategoriasMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 85%;
  }

  .tablaCategoriasMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaCategoriasMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaCategoriasMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaCategoriasMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaCategoriasMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaCategoriasMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaCategoriasMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Gastos Movimientos/meses_actuales ***/
  .tablaGastosMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaGastosMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaGastosMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaGastosMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para plantillas ***/
  .tabla_plantillas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 2%;
  }

  .tabla_plantillas {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_plantillas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_plantillas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_plantillas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_plantillas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_plantillas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  #nombre_archivo {
    color: red;
  }

  .TextBoxTicker {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-left: -50%;
    color: #fff;
    background: #428bca;
  }

  .footer {
    position: fixed;
    bottom: 0;
    z-index: 2000;
    #left: 0;
    width: 100%;
  }
}

/* Menu principal */
.demo-3 {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(220px, 1fr) minmax(0, 360px);
  align-items: start;
  column-gap: 18px;
  width: min(100% - 24px, 1180px);
  margin: 14px auto 22px;
  padding: 0;
}

.demo-3 .codrops-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.demo-3 .codrops-top a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  border-radius: 6px;
  padding: 0 10px;
}

.demo-3 .codrops-top a:hover,
.demo-3 .codrops-top a:focus {
  background: #e6f4f1;
  color: #0f766e;
  text-decoration: underline;
}

.demo-3 .app-program-title {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  margin: 0;
  color: var(--app-accent);
  text-align: center;
}

.app-program-gestoria-logo {
  display: none;
}

.demo-3 .app-program-brand {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.demo-3 .app-program-gestoria {
  max-width: 100%;
  overflow: hidden;
  color: #475569;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-year-filter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 16px auto 24px;
  padding: 10px 12px 10px 16px;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.08);
}

.report-year-filter-label {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.report-year-filter-select {
  min-width: 142px;
  height: 42px;
  padding: 0 38px 0 13px;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.report-year-filter-select:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}

.report-year-filter-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.app-access-denied-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.09), transparent 42%),
    #f4f7fb;
}

.app-access-denied {
  display: grid;
  min-height: calc(100vh - 70px);
  padding: 32px 18px;
  place-items: center;
}

.app-access-denied-card {
  width: min(100%, 560px);
  padding: 34px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.app-access-denied-logo {
  display: block;
  width: auto;
  max-width: min(100%, 230px);
  max-height: 120px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.app-access-denied-code {
  margin-bottom: 5px;
  color: #0f766e;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.app-access-denied-card h1 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.15;
}

.app-access-denied-card p {
  margin: 0 auto 24px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.app-access-denied-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.app-access-denied-actions .button {
  margin: 0;
}

.app-access-denied-actions .app-access-denied-secondary {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: none;
}

.app-document-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 9px;
  text-decoration: none;
  vertical-align: middle;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.app-document-icon-link:hover,
.app-document-icon-link:focus {
  color: #ffffff;
  background: #0f766e;
  border-color: #0f766e;
  outline: none;
  transform: translateY(-1px);
}

.app-document-file-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.app-document-file-icon::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  content: "";
  background: inherit;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.app-document-file-icon::after {
  position: absolute;
  right: 3px;
  bottom: 5px;
  left: 3px;
  height: 2px;
  content: "";
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor;
}

.app-document-file-svg {
  display: block;
  width: 20px;
  height: 24px;
  color: inherit;
  pointer-events: none;
}

.app-current-document {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.budget-work-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: min(100%, 760px);
  box-sizing: border-box;
  margin: 22px auto 20px;
  padding: 17px 20px;
  text-align: left;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid #b6e5df;
  border-left: 5px solid #0f766e;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(15, 54, 67, 0.1);
}

.budget-work-heading-icon {
  position: absolute;
  left: 20px;
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: #0f766e;
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(15, 118, 110, 0.24);
}

.budget-work-heading-content {
  min-width: 0;
  max-width: calc(100% - 120px);
  text-align: center;
}

.budget-work-heading-label {
  display: block;
  margin-bottom: 3px;
  color: #58717a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.budget-work-heading h2 {
  margin: 0;
  color: #143642;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.budget-work-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 22px;
}

.budget-work-actions .button {
  margin: 0;
}

@media (max-width: 600px) {
  .budget-work-heading {
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .budget-work-heading-icon {
    position: static;
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .budget-work-heading-content {
    max-width: calc(100% - 54px);
    text-align: center;
  }
}

/* Identidad visual MyFincaLink 2026: alineada con la presentación comercial. */
:root {
  --app-bg: #f6f7f5;
  --app-surface-soft: #f7faf9;
  --app-border: #dde4e6;
  --app-border-strong: #bfcdd1;
  --app-text: #172033;
  --app-muted: #667085;
  --app-primary: #0f766e;
  --app-primary-dark: #0b5f59;
  --app-primary-soft: #ddf4ee;
  --app-accent: #3b82c4;
  --app-danger: #d95c5c;
  --app-warning: #d99022;
  --app-shadow: 0 24px 60px rgba(20, 38, 61, 0.12);
  --app-shadow-soft: 0 12px 32px rgba(20, 38, 61, 0.08);
  --app-radius: 16px;
}

html,
body,
.demo-3 .dl-menuwrapper {
  font-family: Lato, "Segoe UI", Arial, sans-serif;
}

body:not(.index-login-page) {
  background:
    radial-gradient(circle at 92% 0%, rgba(15, 118, 110, 0.08), transparent 28rem),
    linear-gradient(180deg, #f9faf8 0, var(--app-bg) 28rem);
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base,
body:not(.index-login-page) .contenedor_form {
  width: min(calc(100% - 40px), 1240px);
}

.bienvenido {
  width: min(calc(100% - 40px), 1240px);
  min-height: 54px;
  box-sizing: border-box;
  padding: 10px 170px 10px 18px;
  justify-content: flex-start;
  color: #dce7ed;
  background: #14263d;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(20, 38, 61, 0.16);
}

.bienvenido :is(.app-profile-shortcut, .app-support-shortcut, .app-gestoria-guide-shortcut) {
  color: #fff;
}

.bienvenido .app-current-community {
  color: #172033;
  background: #fff;
  border-width: 0;
  box-shadow: inset 5px 0 0 var(--app-context-color);
}

.bienvenido .app-current-community-label {
  color: var(--app-context-color-dark);
}

.app-page-header {
  position: relative;
  box-sizing: border-box;
  margin-top: 22px;
  padding: 26px 32px 24px !important;
  text-align: left !important;
  background: transparent;
  border-bottom: 1px solid var(--app-border);
}

body:not(.index-login-page) > .app-page-header h1 {
  color: #14263d;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.app-page-header h1 .clearfix {
  display: block;
  margin-top: 8px;
  color: var(--app-context-color);
  font-size: 0.48em;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-page-header .descripcion-page {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--app-muted);
  font-size: 17px;
  line-height: 1.55;
}

.demo-3 {
  width: min(calc(100% - 40px), 1240px);
  padding: 10px 0;
}

.demo-3 .dl-menuwrapper button.dl-trigger {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.demo-3 .dl-menuwrapper .dl-menu,
.demo-3 .dl-menuwrapper > .dl-submenu {
  border-color: var(--app-border);
  border-radius: 16px;
  box-shadow: var(--app-shadow);
}

body:not(.index-login-page) #base {
  padding-bottom: 48px;
}

body:not(.index-login-page) #base > h1 {
  width: min(100%, 1180px);
  margin: 44px auto 18px;
  color: #14263d;
  font-size: 24px;
  text-align: left;
}

body:not(.index-login-page) :is(.tablaMovimientos, .tablaContactos, .tablaDebitos, .tablaComunidades) {
  box-sizing: border-box;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--app-shadow-soft);
}

body:not(.index-login-page) table {
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

body:not(.index-login-page) table th {
  padding: 14px 16px;
  color: #5f6c7b;
  background: #f5f8f7;
  border-color: var(--app-border);
  font-size: 12px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

body:not(.index-login-page) table td {
  padding: 13px 16px;
  color: var(--app-text);
  border-color: #ebeff0;
}

body:not(.index-login-page) table tr:hover td {
  background: #f7fbfa;
}

.form-input-forms,
.form-input-login,
.form-textarea-forms,
input[type="password"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  border-radius: 12px;
}

.button_login,
.button_login[type="submit" i],
button,
input[type="submit"],
input[type="button"] {
  border: 0;
  border-radius: 12px;
}

.dashboard-page #base > form:first-of-type {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: min(100%, 1180px);
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  box-shadow: var(--app-shadow-soft);
}

.dashboard-page #base > form:first-of-type br {
  display: none;
}

.dashboard-page #base > form:first-of-type label {
  flex: 0 0 auto;
  margin: 0;
}

.dashboard-page #base > form:first-of-type select {
  flex: 1 1 auto;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  width: min(100%, 1180px);
  margin: 24px auto 8px;
  text-align: left !important;
}

.dashboard-kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 116px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--app-shadow-soft);
}

.dashboard-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  height: 48px;
  color: var(--app-context-color);
  background: color-mix(in srgb, var(--app-context-color) 12%, white);
  border-radius: 14px;
  font-size: 22px;
}

.dashboard-kpi div {
  min-width: 0;
}

.dashboard-kpi strong,
.dashboard-kpi span {
  display: block;
}

.dashboard-kpi strong {
  color: #14263d;
  font-size: 28px;
  line-height: 1.1;
}

.dashboard-kpi div span {
  margin-top: 7px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-kpi-primary {
  color: #fff;
  background: var(--app-context-color);
  border-color: var(--app-context-color);
}

.dashboard-kpi-primary strong,
.dashboard-kpi-primary div span {
  color: var(--app-on-context);
}

.dashboard-kpi-primary .dashboard-kpi-icon {
  color: var(--app-on-context);
  background: rgba(255, 255, 255, 0.17);
}

.dashboard-kpi-warning .dashboard-kpi-icon {
  color: #b45309;
  background: #fff4df;
}

.dashboard-kpi-amount {
  grid-column: span 2;
}

.dashboard-work-card {
  border-radius: 18px;
  box-shadow: var(--app-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-work-card:hover {
  box-shadow: 0 18px 38px rgba(20, 38, 61, 0.13);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  body:not(.index-login-page) > header,
  body:not(.index-login-page) #base,
  body:not(.index-login-page) .contenedor_form,
  .bienvenido,
  .demo-3 {
    width: min(calc(100% - 24px), 1240px);
  }

  .bienvenido {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .bienvenido .app-welcome-tools {
    position: static;
    justify-content: center;
    transform: none;
  }

  .app-page-header {
    padding: 20px 8px 18px !important;
  }

  .dashboard-page #base > form:first-of-type {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-kpi-amount {
    grid-column: auto;
  }
}

.app-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.app-table-scroll > table {
  min-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.app-table-scroll > table.app-compact-table {
  width: max-content !important;
  min-width: 0;
}

table .app-phone-column {
  min-width: max-content;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body:not(.index-login-page) #base.app-has-wide-table {
  width: min(100% - 32px, 96%);
}

.demo-3 .column {
  grid-column: 1;
  grid-row: 2;
  position: static;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0;
}

.demo-3 .dl-menuwrapper {
  z-index: 3000;
  width: min(100%, 360px);
  max-width: 360px;
  float: none;
  font-family: Arial, Helvetica, sans-serif;
}

.demo-3 .dl-menuwrapper:first-child {
  margin-right: 0;
}

.demo-3 .dl-menuwrapper button.dl-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: min(100%, 320px);
  height: 48px;
  min-height: 48px;
  padding: 0 18px 0 48px;
  overflow: visible;
  color: var(--app-on-primary);
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
  text-indent: 0;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.demo-3 .dl-menuwrapper button.dl-trigger:after {
  top: 13px;
  left: 18px;
  width: 18px;
  height: 2px;
  background: var(--app-on-primary);
  border-radius: 2px;
  box-shadow:
    0 7px 0 var(--app-on-primary),
    0 14px 0 var(--app-on-primary);
}

.demo-3 .dl-menuwrapper button.dl-trigger:hover,
.demo-3 .dl-menuwrapper button.dl-trigger:focus,
.demo-3 .dl-menuwrapper button.dl-trigger.dl-active {
  background: var(--app-primary-dark);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.3);
  transform: translateY(-1px);
}

.demo-3 .dl-menuwrapper button.dl-trigger:focus-visible,
.demo-3 .codrops-top a:focus-visible,
.demo-3 .dl-menuwrapper li a:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 2px;
}

.demo-3 .dl-menuwrapper ul {
  background: #ffffff;
}

.demo-3 .dl-menuwrapper .dl-menu,
.demo-3 .dl-menuwrapper > .dl-submenu {
  width: min(92vw, 360px);
  max-height: min(72vh, 620px);
  margin-top: 8px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.demo-3 .dl-menuwrapper li {
  border-bottom: 1px solid #eef2f7;
}

.demo-3 .dl-menuwrapper li:last-child {
  border-bottom: 0;
}

.demo-3 .dl-menuwrapper li a {
  min-height: 46px;
  padding: 13px 46px 13px 18px;
  color: #1f2937;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    padding-left 0.16s ease;
}

.demo-3 .dl-menuwrapper li a:hover,
.demo-3 .dl-menuwrapper li a:focus {
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  padding-left: 22px;
}

.demo-3 .dl-menuwrapper li.dl-back > a {
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  padding-left: 38px;
}

.demo-3 .dl-menuwrapper li.dl-back:after,
.demo-3 .dl-menuwrapper li > a:not(:only-child):after {
  color: #64748b;
  line-height: 46px;
}

.demo-3 .dl-menuwrapper li > a:not(:only-child):after {
  right: 16px;
}

.demo-3 .dl-menuwrapper li.dl-back:after {
  left: 14px;
  color: var(--app-primary);
}

.demo-3 .dl-menuwrapper .dl-menu.dl-menuopen {
  opacity: 1;
}

@media only screen and (max-width: 799px) {
  .demo-3 {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto 18px;
  }

  .demo-3 .codrops-top {
    padding: 0 10px;
  }

  .demo-3 .app-program-title {
    min-height: 40px;
    margin: 0 0 10px;
  }

  .demo-3 .app-program-brand {
    font-size: 22px;
  }

  .demo-3 .app-program-gestoria {
    font-size: 14px;
  }

  .report-year-filter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 24px);
    max-width: 340px;
    padding: 13px;
  }

  .report-year-filter-label {
    text-align: left;
  }

  .report-year-filter-select {
    width: 100%;
  }


  .demo-3 .dl-menuwrapper,
  .demo-3 .dl-menuwrapper button.dl-trigger,
  .demo-3 .dl-menuwrapper .dl-menu,
  .demo-3 .dl-menuwrapper > .dl-submenu {
    width: 100%;
    max-width: none;
  }
}

/* Acabado visual profesional */
:root {
  --app-bg: #f4f7fb;
  --app-surface: #ffffff;
  --app-surface-soft: #f8fafc;
  --app-border: #d8e0ea;
  --app-border-strong: #bac7d6;
  --app-text: #1f2937;
  --app-muted: #64748b;
  --app-primary: #0f766e;
  --app-primary-dark: #115e59;
  --app-primary-soft: #e6f6f3;
  --app-on-primary: #ffffff;
  --app-context-color: var(--app-primary);
  --app-context-color-dark: var(--app-primary-dark);
  --app-on-context: var(--app-on-primary);
  --app-accent: #2563eb;
  --app-danger: #b42318;
  --app-warning: #b45309;
  --app-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  --app-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --app-radius: 8px;
}

html {
  min-height: 100%;
  color: var(--app-text);
  background: var(--app-bg);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--app-text);
  background: var(--app-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

body:not(.index-login-page) {
  background:
    linear-gradient(
      180deg,
      rgba(244, 247, 251, 0.98),
      rgba(239, 244, 249, 0.98)
    ),
    var(--app-bg);
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base,
body:not(.index-login-page) .contenedor_form {
  width: min(100% - 32px, 70%);
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) > header {
  padding: 18px 0 8px;
}

body:not(.index-login-page) > header h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.index-login-page) > header p,
body:not(.index-login-page) > header span {
  color: var(--app-muted);
}

.index-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  overflow-x: hidden;
  background: url("../images/login-dashboard-bg.png") center / cover no-repeat fixed;
}

.index-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.index-login-page::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 36vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.42));
}

.index-login-page .form-login {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: min(100%, 420px);
  transform: none;
  border-radius: var(--app-radius);
}

.register-login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.register-login-page .form-login {
  position: relative;
  top: auto;
  left: auto;
  width: min(100% - 32px, 520px);
  margin: 40px auto;
  transform: none;
}

.register-login-page .app-property-mark {
  margin-top: auto;
}

.index-login-page .contenedor {
  width: auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--app-radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px);
}

.index-login-page .contenedor:hover {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.index-login-page h1 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.index-login-page h2 {
  margin: 0 0 24px;
  color: var(--app-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.login-language-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 18px;
}

.login-language-selector a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--app-primary-dark);
  background: #ffffff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.login-language-selector a.active {
  color: #ffffff;
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.index-login-page .formulario {
  width: 100%;
}

.form-label-login,
.form-label-forms {
  display: inline-block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.form-input-forms,
.form-input-login,
.form-textarea-forms,
input[type="password"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  box-sizing: border-box;
  min-height: 42px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.form-input-forms,
.form-input-login,
input[type="password"] {
  padding: 9px 12px;
  text-align: left;
}

textarea,
.form-textarea-forms {
  text-align: justify;
}

.app-file-dropzone {
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  color: #475569;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: var(--app-radius);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.app-file-dropzone:hover,
.app-file-dropzone:focus,
.app-file-dropzone:focus-within,
.app-file-dropzone.is-dragging {
  background: #f0fdfa;
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  outline: none;
}

.app-file-dropzone.has-file {
  background: #f0fdf4;
  border-color: #16a34a;
}

.app-file-dropzone.has-error {
  background: #fff7ed;
  border-color: var(--app-danger);
}

.app-file-dropzone .app-file-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.app-file-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.app-file-dropzone-content strong {
  color: #0f172a;
  font-size: 16px;
}

.app-file-dropzone-icon {
  color: var(--app-accent);
  font-size: 34px;
  line-height: 1;
}

.app-file-dropzone-status {
  max-width: 100%;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.app-file-dropzone.has-error .app-file-dropzone-status {
  color: var(--app-danger);
}

.inputsLogin {
  width: 100%;
}

.one-more-block {
  display: block;
  width: 100%;
}

.one-more-block input[type="password"] {
  padding-right: 44px;
}

.inner-icon {
  right: 12px;
  opacity: 0.68;
  transition: opacity 0.16s ease;
}

.inner-icon:hover {
  opacity: 1;
}

.app-password-field {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.app-password-field input {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin: 0;
  padding: 9px 12px !important;
  border-radius: 10px !important;
}

button.app-password-toggle {
  position: relative;
  z-index: 2;
  width: 48px;
  min-width: 48px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.2);
  font-size: 20px;
  line-height: 1;
  transform: none;
}

button.app-password-toggle:hover,
button.app-password-toggle:focus-visible {
  color: #ffffff;
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
  transform: none;
}

.app-password-field:focus-within input,
.app-password-field:focus-within button.app-password-toggle {
  border-color: var(--app-primary);
}

.app-password-field input:focus {
  box-shadow: none;
  outline: 0;
}

.app-password-field:focus-within {
  border-radius: 10px;
  box-shadow: none;
}

.form-input-forms:focus,
.form-input-login:focus,
.form-textarea-forms:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.gestoria-browser-autofill .form-input-forms {
  transition: none;
}

.gestoria-browser-autofill .form-input-forms:focus {
  box-shadow: none;
}

.button_login,
.button_login[type="submit" i],
button,
input[type="submit"],
input[type="button"] {
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: var(--app-radius);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.button_login:hover,
.button_login[type="submit" i]:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  color: #ffffff;
  background: var(--app-primary-dark);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.26);
  transform: translateY(-1px);
}

.index-login-page .button_login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 10px;
}

.index-login-page a.button_login {
  width: auto;
  min-height: 38px;
  margin: 0 4px 8px;
  padding: 9px 12px;
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  border-color: #b7e3dc;
  box-shadow: none;
}

.index-login-page a.button_login:hover {
  color: #ffffff;
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.login-language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
}

.login-language-switcher .language-option {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--app-primary-dark);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  transform: none;
}

.login-language-switcher .language-option:hover,
.login-language-switcher .language-option.active {
  color: #ffffff;
  background: var(--app-primary);
  border-color: var(--app-primary);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
  transform: none;
}

.index-login-page .version {
  padding: 10px 0 8px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 800;
}

.index-login-page .login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 6px;
  color: var(--app-accent);
  text-align: center;
}

.index-login-page .login-company-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: clamp(110px, 28vw, 180px);
  overflow: hidden;
}

.index-login-page .login-company-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.index-login-page .login-logo-name {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

.index-login-page .login-logo-tagline {
  color: var(--app-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.index-login-page .product-site-link {
  margin-top: 4px;
  color: var(--app-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.index-login-page .product-site-link:hover {
  text-decoration: underline;
}

.alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--app-danger);
  border-radius: var(--app-radius);
  font-size: 14px;
  font-weight: 800;
}

.persistent-error {
  display: block;
  margin: 18px auto;
  padding: 14px 18px;
  max-width: 900px;
  color: #991b1b;
  background: #fef2f2;
  border: 2px solid #dc2626;
  border-radius: var(--app-radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.existing-identity-role-message {
  margin: -8px 0 18px;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.insurance-toolbar { display: flex; justify-content: flex-end; width: min(100%, 1180px); margin: 0 auto 18px; }
.insurance-toolbar-actions, .insurance-record-actions { display: flex; align-items: center; gap: 12px; }
.insurance-history-link { color: #fff; background: #334155; border-color: #334155; }
.insurance-section-panel { width: min(100%, 1180px); margin: 0 auto; padding: 26px; background: linear-gradient(145deg, #f8fbfc 0%, #f2f7f8 100%); border: 1px solid #dce7ea; border-radius: 20px; box-shadow: 0 18px 45px rgba(15, 23, 42, .07); }
.insurance-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding-bottom: 17px; border-bottom: 1px solid #d9e5e8; }
.insurance-section-eyebrow { display: block; margin-bottom: 3px; color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.insurance-section-title { margin: 0; color: #16343b; font-size: clamp(22px, 3vw, 29px); }
.insurance-count { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 11px; color: #0f766e; background: #dff7f2; border: 1px solid #a7e1d8; border-radius: 999px; font-weight: 900; }
.insurance-count-expired { color: #9f1239; background: #fff1f2; border-color: #fecdd3; }
.insurance-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 560px)); justify-content: center; gap: 24px; }
.insurance-card { position: relative; display: flex; flex-direction: column; gap: 20px; min-height: 390px; padding: 26px; overflow: hidden; background: #fff; border: 1px solid #d6e2e5; border-radius: 16px; box-shadow: 0 12px 30px rgba(15, 23, 42, .08); transition: transform .2s ease, box-shadow .2s ease; }
.insurance-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; content: ''; background: linear-gradient(90deg, var(--app-primary), #14b8a6); }
.insurance-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(15, 23, 42, .12); }
.insurance-card-header, .insurance-card-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.insurance-card h3 { margin: 6px 0 0; color: #172033; font-size: 23px; letter-spacing: -.02em; }
.insurance-type { color: var(--app-primary-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.insurance-status { padding: 7px 11px; color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 12px; font-weight: 900; }
.insurance-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 12px; }
.insurance-details > div { min-height: 76px; padding: 14px 16px; background: #fbfdfe; border-bottom: 1px solid #e2e8f0; }
.insurance-details > div:nth-child(odd):not(:last-child) { border-right: 1px solid #e2e8f0; }
.insurance-details div:last-child { grid-column: 1 / -1; }
.insurance-date-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0 !important; border-bottom: 0 !important; }
.insurance-date-range span { padding: 14px 16px; }
.insurance-date-range span + span { border-left: 1px solid #e2e8f0; }
.insurance-details dt { margin-bottom: 3px; color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.insurance-details dd { margin: 0; color: #172033; font-weight: 750; overflow-wrap: anywhere; }
.insurance-description { margin: 0; padding: 14px 16px; color: #475569; background: #f8fafc; border-left: 3px solid #94a3b8; border-radius: 8px; line-height: 1.55; }
.insurance-card-footer { align-items: center; margin-top: auto; padding-top: 17px; border-top: 1px solid #e2e8f0; }
.insurance-record-actions a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #f8fafc; border: 1px solid #dbe5ea; border-radius: 9px; transition: background .2s ease, border-color .2s ease; }
.insurance-record-actions a:hover { background: #e6f7f4; border-color: #8dd5ca; }
.insurance-record-actions img { width: 21px; height: 21px; object-fit: contain; }
.insurance-muted, .insurance-empty { color: #64748b; }
.insurance-document-label { color: #475569; font-weight: 800; }
.insurance-empty { padding: 28px; text-align: center; background: #fff; border: 1px dashed #94a3b8; border-radius: var(--app-radius); }
.insurance-expired-table { overflow-x: auto; background: #fff; border: 1px solid #dbe5e8; border-radius: 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.insurance-expired-table table { width: 100%; min-width: 1050px; }

.bank-account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, 1180px); margin: 0 auto 20px; }
.bank-account-heading { display: flex; align-items: center; gap: 10px; color: #475569; font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.bank-account-heading strong { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; color: #0f766e; background: #dff7f2; border: 1px solid #a7e1d8; border-radius: 999px; }
.bank-account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 560px)); justify-content: center; gap: 24px; width: min(100%, 1180px); margin: 0 auto; }
.bank-account-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #d7e3e6; border-radius: 18px; box-shadow: 0 14px 36px rgba(15, 23, 42, .09); }
.bank-account-card::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ''; background: linear-gradient(180deg, var(--app-primary), #14b8a6); }
.bank-account-card.is-legacy { opacity: .82; }
.bank-account-card.is-legacy::before { background: #94a3b8; }
.bank-account-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 25px 26px 18px 30px; }
.bank-account-card-header h2 { margin: 5px 0 0; color: #172033; font-size: 24px; letter-spacing: -.02em; }
.bank-account-eyebrow { color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bank-account-status { padding: 7px 11px; color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 12px; font-weight: 900; }
.is-legacy .bank-account-status { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.bank-account-iban { margin: 0 26px 22px 30px; padding: 16px 18px; background: linear-gradient(135deg, #f2faf8, #f8fbfc); border: 1px solid #cfe6e2; border-radius: 12px; }
.bank-account-iban span { display: block; margin-bottom: 5px; color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.bank-account-iban strong { color: #16343b; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(15px, 2vw, 18px); letter-spacing: .04em; overflow-wrap: anywhere; }
.bank-account-fees { margin: 0 26px 24px 30px; }
.bank-account-fees h3 { margin: 0 0 11px; color: #475569; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.bank-account-fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #e2e8f0; border-radius: 12px; }
.bank-account-fee-grid div { min-width: 0; padding: 15px 12px; text-align: center; background: #fbfdfe; }
.bank-account-fee-grid div + div { border-left: 1px solid #e2e8f0; }
.bank-account-fee-grid span { display: block; min-height: 30px; color: #64748b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bank-account-fee-grid strong { display: block; margin-top: 5px; color: #172033; font-size: 16px; }
.bank-account-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px 16px 30px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.bank-account-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #0f766e; background: #fff; border: 1px solid #cfe1e4; border-radius: 9px; font-size: 12px; font-weight: 850; }
.bank-account-actions a.bank-account-delete { color: #b91c1c; }
.bank-account-actions img { width: 19px; height: 19px; object-fit: contain; }
.bank-account-empty { width: min(100%, 1180px); margin: 0 auto; padding: 30px; color: #64748b; text-align: center; background: #fff; border: 1px dashed #94a3b8; border-radius: 16px; }

@media (max-width: 640px) {
  .insurance-toolbar, .insurance-toolbar-actions { align-items: stretch; flex-direction: column; }
  .insurance-section-panel { padding: 18px; border-radius: 14px; }
  .insurance-card { min-height: 0; padding: 21px; }
  .insurance-details { grid-template-columns: 1fr; }
  .insurance-details div:last-child { grid-column: auto; }
  .insurance-date-range { grid-column: 1 / -1 !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-account-toolbar { align-items: stretch; flex-direction: column; }
  .bank-account-fee-grid { grid-template-columns: 1fr; }
  .bank-account-fee-grid div + div { border-top: 1px solid #e2e8f0; border-left: 0; }
  .bank-account-fee-grid span { min-height: 0; }
  .bank-account-actions span { display: none; }
}

.bienvenido {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, 1240px);
  margin: 10px auto;
  padding: 24px 46px;
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  border: 1px solid #b7e3dc;
  border-radius: var(--app-radius);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.app-current-community {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  max-width: min-content;
  padding: 4px 12px;
  overflow: hidden;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--app-context-color);
  box-shadow: inset 5px 0 0 var(--app-context-color);
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-current-community-label {
  color: var(--app-primary);
}

.app-current-community-separator {
  color: var(--app-muted);
}

.app-version-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  max-width: 160px;
  min-height: 28px;
  padding: 4px 10px;
  overflow: hidden;
  color: #0f766e;
  background: #ffffff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.app-welcome-tools {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transform: translateY(-50%);
}

.app-welcome-tools .app-version-badge {
  position: static;
  transform: none;
}

.app-appearance {
  position: relative;
}

.perfil-appearance > p {
  margin: -4px 0 18px;
  color: var(--app-muted);
}

.app-appearance-profile .app-appearance-panel {
  position: static;
  width: 100%;
  max-width: 640px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-appearance-profile .app-appearance-heading {
  display: none;
}

.app-appearance-profile .app-appearance-reset {
  color: var(--app-on-primary);
  background: var(--app-primary);
  border-color: var(--app-primary-dark);
}

.app-appearance-profile .app-appearance-reset:hover,
.app-appearance-profile .app-appearance-reset:focus-visible {
  color: var(--app-on-primary);
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
}

.app-appearance-profile .app-appearance-options label,
.app-appearance-profile .app-appearance-toggle {
  min-height: 44px;
  box-sizing: border-box;
  font-size: 14px;
}

.app-appearance-trigger,
.app-appearance-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
  color: #0f766e;
  background: #fff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15,23,42,.1);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.app-appearance-trigger:hover,
.app-appearance-trigger:focus-visible {
  color: #fff;
  background: #0f766e;
  outline: 3px solid rgba(15,118,110,.22);
  outline-offset: 2px;
}

.app-appearance-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10020;
  box-sizing: border-box;
  width: min(340px, calc(100vw - 24px));
  padding: 16px;
  color: #172033;
  background: #fff;
  border: 1px solid #b8cbd0;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15,23,42,.28);
  text-align: left;
}

.app-appearance-panel[hidden] {
  display: none;
}

.app-appearance-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 17px;
}

.app-appearance-close {
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.app-appearance-close:hover,
.app-appearance-close:focus-visible {
  background: #e2e8f0;
  outline: 2px solid #0f766e;
}

.app-appearance-panel fieldset {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

.app-appearance-panel legend {
  margin-bottom: 7px;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.app-appearance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.app-appearance-options label,
.app-appearance-toggle,
.app-appearance-color {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  color: inherit;
  background: #f8fafc;
  border: 1px solid #d7e0e4;
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
}

.app-appearance-toggle {
  margin-bottom: 7px;
}

.app-appearance-color {
  justify-content: space-between;
  margin-bottom: 7px;
  font-weight: 800;
}

.app-appearance-color input[type="color"] {
  width: 52px;
  height: 34px;
  padding: 2px;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  cursor: pointer;
}

.app-appearance-panel input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0f766e;
}

.app-appearance-reset {
  width: 100%;
  margin-top: 7px;
  color: #fff;
  background: #0f766e;
  border-radius: 7px;
}

html[data-app-text-size="small"] {
  font-size: 14px;
}

html[data-app-text-size="medium"] {
  font-size: 16px;
}

html[data-app-text-size="large"] {
  font-size: 19px;
}

html[data-app-theme="dark"] body,
html[data-app-theme="system"] body {
  --app-bg: #111827;
}

html[data-app-theme="dark"] body {
  color: #e5e7eb;
  background-color: #111827;
  background-image: radial-gradient(#334155, #0f172a);
}

html[data-app-theme="dark"] :is(.contenedor, .container, .container-table, .app-card, form, table, .bienvenido) {
  color: #e5e7eb;
  background-color: #1e293b;
  border-color: #475569;
}

html[data-app-theme="dark"] :is(input, select, textarea) {
  color: #f8fafc;
  background-color: #0f172a;
  border-color: #64748b;
}

html[data-app-theme="dark"] :is(h1, h2, h3, h4, label, legend, th, td, p) {
  color: inherit;
}

html[data-app-theme="dark"] .app-appearance-panel {
  color: #f8fafc;
  background: #1e293b;
  border-color: #64748b;
}

html[data-app-theme="dark"] .app-appearance-options label,
html[data-app-theme="dark"] .app-appearance-toggle {
  background: #0f172a;
  border-color: #475569;
}

@media (prefers-color-scheme: dark) {
  html[data-app-theme="system"] body {
    color: #e5e7eb;
    background-color: #111827;
    background-image: radial-gradient(#334155, #0f172a);
  }

  html[data-app-theme="system"] :is(.contenedor, .container, .container-table, .app-card, form, table, .bienvenido) {
    color: #e5e7eb;
    background-color: #1e293b;
    border-color: #475569;
  }

  html[data-app-theme="system"] :is(input, select, textarea) {
    color: #f8fafc;
    background-color: #0f172a;
    border-color: #64748b;
  }

  html[data-app-theme="system"] .app-appearance-panel {
    color: #f8fafc;
    background: #1e293b;
    border-color: #64748b;
  }

  html[data-app-theme="system"] .app-appearance-options label,
  html[data-app-theme="system"] .app-appearance-toggle {
    background: #0f172a;
    border-color: #475569;
  }
}

html.app-high-contrast {
  filter: contrast(1.18);
}

html.app-high-contrast :focus-visible {
  outline: 3px solid #f59e0b !important;
  outline-offset: 3px !important;
}

.app-gestoria-guide-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #0f766e;
  background: #fff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15,23,42,.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.app-gestoria-guide-shortcut:hover,
.app-gestoria-guide-shortcut:focus-visible {
  color: #fff;
  background: #0f766e;
  outline: 3px solid rgba(15,118,110,.22);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .bienvenido {
    flex-wrap: wrap;
    padding: 18px 12px 58px;
  }

  .app-profile-shortcut,
  .app-support-shortcut,
  .app-privacy-shortcut {
    position: static;
    transform: none;
  }

  .app-welcome-tools {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 50%;
    max-width: calc(100% - 20px);
    transform: translateX(-50%);
  }

  .app-appearance:not(.app-appearance-profile) .app-appearance-panel {
    position: fixed;
    top: 12px;
    right: 12px;
  }

  .app-gestoria-guide-shortcut {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.app-version-badge:hover,
.app-version-badge:focus-visible {
  color: #ffffff;
  background: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.22);
  outline-offset: 2px;
}

#helpPopup {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 10000;
  display: none;
  width: min(420px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  overflow-y: auto;
  padding: 18px;
  color: #f8fafc;
  background: #1e293b;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.34);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.help-title {
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: 18px;
  font-weight: 800;
}

.help-subtitle {
  margin: 12px 0 8px;
  color: #facc15;
  font-weight: 800;
}

.version-change-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.version-change-list li {
  margin: 6px 0;
  line-height: 1.4;
}

.contenedor,
.contenedor_form,
.mantenimiento_form_style {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
}

.contenedor:hover {
  background: var(--app-surface);
  border-color: var(--app-border-strong);
}

.contenedor_form,
.mantenimiento_form_style {
  padding: 18px;
}

.mantenimiento_form_style {
  background: #ffffff;
}

.mantenimiento_form_style .form-label-forms {
  color: #334155;
}

table {
  background: #ffffff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
  overflow: hidden;
}

tbody th,
thead th {
  color: #ffffff;
  background: #155e75;
  border-color: #155e75;
  font-size: 13px;
  font-weight: 800;
}

tbody td,
thead td,
td {
  border-color: #e5eaf1;
  color: #1f2937;
}

tbody tr:nth-child(even) td {
  background: #f8fafc;
}

tbody tr:hover td {
  background: #eefcf9;
}

.tabla_mov_cuenta tbody tr.mov-income td,
.tablaSearchMovimientos tbody tr.mov-income td {
  background: #15803d;
  color: #ffffff;
}

.tabla_mov_cuenta tbody tr:hover td,
.tabla_mov_cuenta tbody tr:focus-within td,
.tablaSearchMovimientos tbody tr:hover td,
.tablaSearchMovimientos tbody tr:focus-within td {
  background: #dff7f1;
  color: #172033;
}

.tabla_mov_cuenta tbody tr:hover td a,
.tabla_mov_cuenta tbody tr:focus-within td a,
.tablaSearchMovimientos tbody tr:hover td a,
.tablaSearchMovimientos tbody tr:focus-within td a {
  color: #075985;
}

.tabla_mov_cuenta tbody tr.mov-income:hover td,
.tabla_mov_cuenta tbody tr.mov-income:focus-within td,
.tablaSearchMovimientos tbody tr.mov-income:hover td,
.tablaSearchMovimientos tbody tr.mov-income:focus-within td {
  background: #14532d;
  color: #ffffff;
}

.tabla_mov_cuenta tbody tr.mov-income:hover td a,
.tabla_mov_cuenta tbody tr.mov-income:focus-within td a,
.tablaSearchMovimientos tbody tr.mov-income:hover td a,
.tablaSearchMovimientos tbody tr.mov-income:focus-within td a {
  color: #ffffff;
}

caption {
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
}

.tablaActas,
.tablaGastosFijos,
.tablaDebitos,
.tablaTareas,
.tablaContactos,
.tablaExtra,
.tablaVistaConceptos,
.tablaMeses,
.tablaIngresos,
.tablaGastos,
.tablaGastosCategorias,
.tabla_plantillas,
.tablaViviendas,
.tablaBeneficiosVivienda,
.tablaSearchMovimientos,
.tablaVistaAnual,
.tablaIngresoMesesActuales,
.tablaCategoriasMesesActuales,
.tablaGastosMesesActuales {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaMovimientos,
.tabla_mov_cuenta {
  width: fit-content;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaComunidades {
  width: fit-content;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaMovimientos table,
.tablaActas table,
.tabla_mov_cuenta table,
.tablaGastosFijos table,
.tablaDebitos table,
.tablaTareas table,
.tablaContactos table,
.tablaExtra table,
.tablaVistaConceptos table,
.tablaMeses table,
.tablaIngresos table,
.tablaGastos table,
.tablaGastosCategorias table,
.tabla_plantillas table,
.tablaViviendas table,
.tablaBeneficiosVivienda table,
.tablaSearchMovimientos table,
.tablaVistaAnual table,
.tablaIngresoMesesActuales table,
.tablaCategoriasMesesActuales table,
.tablaGastosMesesActuales table {
  width: 100%;
  min-width: 760px;
}

.tablaComunidades table {
  width: 100%;
  min-width: 980px;
}

.tabla_mov_cuenta table {
  width: max-content;
  min-width: 100%;
}

.tabla_mov_cuenta .mov-actions-header,
.tabla_mov_cuenta .mov-actions {
  min-width: 104px;
  white-space: nowrap;
}

.tabla_mov_cuenta .mov-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
}

.tabla_mov_cuenta .mov-actions img {
  display: block;
}

.dashboard-summary table.dashboard-summary-table {
  table-layout: fixed;
  min-width: 0;
  width: 100%;
}

.dashboard-summary table.dashboard-summary-table th,
.dashboard-summary table.dashboard-summary-table td {
  text-align: center;
  vertical-align: middle;
  width: auto;
  white-space: normal;
}

.dashboard-summary table.dashboard-summary-table td {
  font-size: 13px;
  font-weight: 700;
}

.dashboard-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: left;
}

.dashboard-work-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-top: 5px solid #64748b;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.dashboard-work-card.priority-baja {
  border-top-color: #16a34a;
}

.dashboard-work-card.priority-media {
  border-top-color: #0284c7;
}

.dashboard-work-card.priority-alta {
  border-top-color: #ea580c;
}

.dashboard-work-card.priority-urgente {
  border-top-color: #dc2626;
}

.dashboard-work-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-work-code,
.dashboard-work-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-work-code {
  color: #0f172a;
  background: #e2e8f0;
  text-decoration: none;
}

a.dashboard-work-code:hover,
a.dashboard-work-code:focus {
  color: #ffffff;
  background: #0f766e;
}

.dashboard-work-status {
  color: #075985;
  background: #e0f2fe;
}

.dashboard-work-card h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dashboard-work-community {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-neighbor-origin {
  display: inline-flex;
  margin: -4px 0 14px;
  padding: 5px 9px;
  color: #6b21a8;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-work-parent {
  margin: -4px 0 14px;
  padding: 9px 10px;
  color: #334155;
  background: #f8fafc;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-work-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 0;
}

.dashboard-work-card dl div {
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.dashboard-work-card dt {
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-work-card dd {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-work-empty {
  grid-column: 1 / -1;
  box-sizing: border-box;
  margin: 0;
  padding: 22px;
  color: #64748b;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
}

.dashboard-visibility-form {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #e2e8f0;
  text-align: left;
}

.dashboard-visibility-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-visibility-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
}

.incidencias-notes-grid {
  margin-bottom: 28px;
}

.incidencias-note-card {
  border-top-color: #7c3aed;
}

.incidencias-note-card.is-finished {
  border-top-color: #16a34a;
  opacity: 0.82;
}

.incidencias-note-text {
  margin: 0 0 16px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.incidencias-note-action {
  margin-top: 16px;
  text-align: left;
}

.incidencias-public-link {
  margin: 18px 0 0;
  text-align: left;
}

.incidencia-overview {
  box-sizing: border-box;
  width: min(100%, 980px);
  margin: 24px auto 34px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
  text-align: left;
}

body:not(.index-login-page) #base > section.incidencia-overview {
  text-align: left;
}

.incidencia-overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.incidencia-overview-header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.incidencia-overview-code,
.incidencia-overview-type,
.incidencia-origin-badge,
.incidencia-neighbor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  box-sizing: border-box;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.incidencia-overview-code {
  color: #ffffff;
  background: #0f766e;
}

.incidencia-overview-type {
  color: #334155;
  background: #f1f5f9;
}

.incidencia-origin-badge {
  color: #6b21a8;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.incidencia-neighbor-badge {
  flex: 0 0 auto;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.incidencia-neighbor-badge.is-visible {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

.incidencia-overview-description {
  margin-bottom: 22px;
  padding: 18px;
  background: #f8fafc;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
}

.incidencia-overview-description > span,
.incidencia-overview-grid dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.incidencia-overview-description p {
  margin: 7px 0 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.incidencia-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.incidencia-overview-grid > div {
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.incidencia-overview-grid dd {
  margin: 5px 0 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .incidencia-overview {
    padding: 18px;
  }

  .incidencia-overview-header {
    display: block;
  }

  .incidencia-neighbor-badge {
    margin-top: 12px;
  }

  .incidencia-overview-grid {
    grid-template-columns: 1fr;
  }
}

.wrapperMensajeCookie {
  width: min(92vw, 520px);
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

.wrapperMensajeCookie .textoLegalCookie {
  max-width: none;
  padding: 14px 16px;
  color: #334155;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
}

.wrapperMensajeCookie .textoLegalCookie a {
  color: var(--app-primary);
  font-weight: 800;
}

.cookie-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.cookie-consent-check input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.cookie-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media only screen and (max-width: 799px) {
  body:not(.index-login-page) > header,
  body:not(.index-login-page) #base,
  body:not(.index-login-page) .contenedor_form {
    width: min(100% - 20px, 1240px);
  }

  .index-login-page {
    align-items: start;
    padding-top: 24px;
    background-attachment: scroll;
  }

  .index-login-page .contenedor {
    padding: 22px;
  }

  .index-login-page h1 {
    font-size: 26px;
  }

  .index-login-page a.button_login {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .tablaMovimientos,
  .tablaActas,
  .tabla_mov_cuenta,
  .tablaGastosFijos,
  .tablaDebitos,
  .tablaTareas,
  .tablaContactos,
  .tablaExtra,
  .tablaVistaConceptos,
  .tablaMeses,
  .tablaIngresos,
  .tablaGastos,
  .tablaGastosCategorias,
  .tabla_plantillas,
  .tablaViviendas,
  .tablaBeneficiosVivienda,
  .tablaSearchMovimientos,
  .tablaVistaAnual,
  .tablaIngresoMesesActuales,
  .tablaCategoriasMesesActuales,
  .tablaGastosMesesActuales {
    width: calc(100% - 16px);
  }

  .tablaComunidades {
    width: calc(100% - 16px);
  }
}

/* Unifica todos los botones con el estilo del boton Guardar */
a.button,
.button,
.button_login,
.button_register,
.button_reset,
.button_mov,
.button_first,
.button_second,
.boton_menu,
.boton_eliminar,
#button_first,
#button_second,
#log_out_button,
input.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
button:not(.dl-trigger) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 42px;
  margin: 4px 4px 10px 0;
  padding: 10px 16px;
  color: var(--app-on-context);
  background: var(--app-context-color);
  border: 1px solid var(--app-context-color-dark);
  border-radius: var(--app-radius);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
  appearance: none;
}

body:not(.index-login-page) table th {
  color: var(--app-on-context);
  background-color: var(--app-context-color);
  border-color: var(--app-context-color-dark);
}

.community-color-row {
  border-left: 8px solid var(--community-color, var(--app-primary));
}

.community-color-button {
  color: var(--community-on-color, #fff) !important;
  background: var(--community-color, var(--app-primary)) !important;
  border-color: var(--community-color-dark, var(--app-primary-dark)) !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--community-color, var(--app-primary)) 28%, transparent) !important;
}

.community-color-button:hover,
.community-color-button:focus-visible {
  color: var(--community-on-color, #fff) !important;
  background: var(--community-color-dark, var(--app-primary-dark)) !important;
}

.community-color-input {
  width: 76px;
  height: 46px;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius);
  cursor: pointer;
}

a.button:hover,
.button:hover,
.button_login:hover,
.button_register:hover,
.button_reset:hover,
.button_mov:hover,
.button_first:hover,
.button_second:hover,
.boton_menu:hover,
.boton_eliminar:hover,
#button_first:hover,
#button_second:hover,
#log_out_button:hover,
input.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:not(.dl-trigger):hover {
  color: var(--app-on-context);
  background: var(--app-context-color-dark);
  border-color: var(--app-context-color-dark);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.26);
  transform: translateY(-1px);
}

a.button:focus-visible,
.button:focus-visible,
.button_login:focus-visible,
.button_register:focus-visible,
.button_reset:focus-visible,
.button_mov:focus-visible,
.button_first:focus-visible,
.button_second:focus-visible,
.boton_menu:focus-visible,
.boton_eliminar:focus-visible,
#button_first:focus-visible,
#button_second:focus-visible,
#log_out_button:focus-visible,
input.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible,
button:not(.dl-trigger):focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.index-login-page .button_login,
.index-login-page a.button_login {
  width: 100%;
  margin-right: 0;
}

.app-property-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  margin: 48px auto 0;
  padding: 22px 24px;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}

.error500-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(244, 247, 251, 0.98),
      rgba(239, 244, 249, 0.98)
    ),
    var(--app-bg);
}

.error500-panel {
  width: min(100%, 560px);
  padding: 34px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.error500-code {
  margin: 0 0 12px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.error500-panel h1 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
}

.error500-panel p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
}

.error500-panel a {
  color: #1d5d8c;
  font-weight: 800;
  text-decoration: none;
}

.app-profile-shortcut {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 3px;
  color: #0f172a;
  background: var(--app-primary-soft);
  border: 3px solid var(--app-primary);
  border-radius: 999px;
  box-shadow:
    0 0 0 3px #ffffff,
    0 8px 20px rgba(15, 23, 42, 0.24);
  letter-spacing: 0;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.app-profile-shortcut:hover,
.app-profile-shortcut:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 0 0 4px var(--app-primary-soft),
    0 10px 24px rgba(15, 23, 42, 0.3);
  outline: 3px solid var(--app-primary);
  outline-offset: 3px;
}

.app-profile-shortcut img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.app-profile-shortcut span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .app-profile-shortcut {
    position: static;
    transform: none;
  }

  .app-profile-shortcut:hover,
  .app-profile-shortcut:focus-visible {
    transform: scale(1.08);
  }
}

.app-support-shortcut,
.app-privacy-shortcut {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--app-primary-dark);
  background: #ffffff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.app-support-shortcut {
  left: 54px;
}

.app-privacy-shortcut {
  left: 132px;
}

.app-support-shortcut:hover,
.app-support-shortcut:focus-visible,
.app-privacy-shortcut:hover,
.app-privacy-shortcut:focus-visible {
  color: #ffffff;
  background: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 2px;
}

.support-form-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.perfil-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.perfil-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.perfil-main {
  display: grid;
  gap: 18px;
}

.perfil-panel,
.perfil-vivienda,
.perfil-avatar-card {
  box-sizing: border-box;
  width: 100%;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.perfil-panel h2,
.perfil-vivienda h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 20px;
  letter-spacing: 0;
}

.perfil-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.perfil-grid label {
  display: grid;
}

.perfil-grid .app-password-field {
  align-self: start;
  height: 42px;
}

.perfil-grid .app-password-field input,
.perfil-grid .app-password-field button.app-password-toggle {
  height: 42px;
  min-height: 42px;
}

.perfil-grid .perfil-repeat-password {
  grid-column: 2;
}

.perfil-readonly {
  display: grid;
  align-content: center;
  min-height: 42px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
}

.perfil-readonly span,
.perfil-vivienda-header span,
.perfil-avatar-card span,
.perfil-communities span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.perfil-file-field {
  grid-column: 1 / -1;
}

.perfil-file-field small {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.perfil-vivienda {
  margin-top: 14px;
  box-shadow: none;
}

.perfil-vivienda-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.perfil-vivienda-header h3 {
  margin: 4px 0 0;
}

.perfil-vivienda-header div:last-child {
  text-align: right;
}

.perfil-vivienda-header strong {
  display: block;
  color: #0f766e;
  font-size: 18px;
}

.perfil-side {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 18px;
}

.perfil-avatar-card {
  text-align: center;
}

.perfil-avatar-card img {
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #dce3ec;
}

.perfil-avatar-card strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
}

.perfil-communities ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perfil-communities li {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.perfil-communities strong {
  display: block;
  color: #0f172a;
}

.perfil-empty {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.directorio-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 0 0 1.75rem;
}

.directorio-status-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.directorio-status-row input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 4px;
  vertical-align: middle;
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

.directorio-community-section {
  clear: both;
  display: block;
  width: 100%;
  margin: 0 auto 1.25rem;
}

.directorio-community-section h2 {
  margin: 0 0 1rem;
  color: #173643;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.directorio-community-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #cbdfe3;
  border-radius: 0.65rem;
  box-shadow: 0 6px 18px rgba(15, 54, 67, 0.07);
}

.directorio-community-table table {
  width: 100%;
  margin: 0;
  border: 0;
}

.directorio-community-table th,
.directorio-community-table td {
  padding: 0.7rem 0.75rem;
  vertical-align: middle;
}

.directorio-community-table input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
}

.app-help-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: help;
  text-decoration: underline dotted;
  text-underline-offset: 0.2rem;
}

.app-help-tooltip:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #79d5cf;
  outline-offset: 3px;
}

.community-assignment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: left;
}

.community-assignment-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  padding: 11px 13px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.community-assignment-options input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
}

.logs-page header,
.logs-page #base {
  text-align: center;
}

.logs-page #base > div,
.logs-page .tablaContactos,
.logs-page .tablaContactos table {
  margin-left: auto;
  margin-right: auto;
}

.logs-page .paginador {
  display: flex;
  justify-content: center;
}

.logs-page .paginador ul {
  justify-content: center;
}

.php-errors-page header,
.php-errors-page #base {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.php-error-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 24px auto;
  width: min(100%, 1100px);
}

.php-error-card {
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 16px;
}

.php-error-card-label {
  color: #596579;
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.php-error-card strong {
  color: #1d2633;
  font-size: 28px;
}

.php-error-toolbar {
  max-width: 560px;
}

.php-error-table table {
  table-layout: fixed;
}

.php-error-table th:nth-child(1),
.php-error-table td:nth-child(1) {
  width: 190px;
}

.php-error-table th:nth-child(2),
.php-error-table td:nth-child(2) {
  width: 110px;
}

.php-error-table pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.php-error-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.php-error-fatal,
.php-error-error {
  background: #ffe6e6;
  color: #9f1d1d;
}

.php-error-warning {
  background: #fff1cc;
  color: #7a5200;
}

.php-error-notice {
  background: #e8f1ff;
  color: #24518f;
}

.php-error-info {
  background: #eef2f6;
  color: #445064;
}

@media (max-width: 860px) {
  .perfil-layout {
    grid-template-columns: 1fr;
  }

  .perfil-side {
    position: static;
    grid-row: 1;
  }

  .perfil-grid {
    grid-template-columns: 1fr;
  }

  .perfil-grid .perfil-repeat-password {
    grid-column: 1;
  }

  .perfil-vivienda-header {
    display: block;
  }

  .perfil-vivienda-header div:last-child {
    margin-top: 10px;
    text-align: left;
  }
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base {
  text-align: center;
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base,
body:not(.index-login-page) .contenedor,
body:not(.index-login-page) .contenedor_form,
body:not(.index-login-page) .mantenimiento_form_style,
body:not(.index-login-page) form {
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) #base > div,
body:not(.index-login-page) #base > section,
body:not(.index-login-page) #base > article {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body:not(.index-login-page) table {
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) .paginador,
body:not(.index-login-page) .paginadorMovimientos {
  display: flex;
  justify-content: center;
}

body:not(.index-login-page) .paginador ul,
body:not(.index-login-page) .paginadorMovimientos ul {
  justify-content: center;
}

.voting-mobile-page { background:#f1f5f9; }
.voting-mobile-page > .bienvenido {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 12px;
  width:min(calc(100% - 16px),680px);
  min-height:0;
  margin:8px auto 4px;
  padding:12px;
  border-radius:14px;
}
.voting-mobile-page .app-mobile-gestoria-logo {
  display:flex;
  align-items:center;
  justify-content:center;
  width:78px;
  height:78px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(255,255,255,.75);
  border-radius:16px;
  box-shadow:0 5px 14px rgba(15,23,42,.2);
}
.voting-mobile-page .app-mobile-gestoria-logo img {
  display:block;
  width:70px;
  height:70px;
  object-fit:contain;
}
.voting-mobile-page > .bienvenido .app-support-shortcut {
  position:static;
  grid-column:1;
  grid-row:1;
  align-self:center;
  justify-self:start;
  transform:none;
}
.voting-mobile-page > .bienvenido .app-current-community {
  grid-column:1 / -1;
  grid-row:2;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-height:36px;
  justify-content:center;
  flex-wrap:wrap;
  padding:7px 10px;
  overflow:visible;
  font-size:11px;
  line-height:1.35;
  text-overflow:clip;
  white-space:normal;
}
.voting-mobile-page > .bienvenido .app-welcome-tools {
  position:static;
  grid-column:2;
  grid-row:1;
  align-self:center;
  justify-self:end;
  max-width:100%;
  transform:none;
}
.voting-mobile-page > .bienvenido .app-version-badge {
  min-height:26px;
  padding:3px 9px;
  font-size:11px;
}
.voting-census-notice { box-sizing:border-box; margin:0 0 22px; padding:16px 18px; color:#334155; background:#eff6ff; border:1px solid #93c5fd; border-left:5px solid #2563eb; border-radius:10px; text-align:left; }
.voting-census-notice strong { display:block; margin-bottom:7px; color:#1e3a8a; font-size:17px; }
.voting-census-notice p { margin:7px 0; }
.voting-census-notice code { padding:1px 5px; background:#fff; border-radius:4px; }
.voting-mobile-shell { width:min(100% - 24px,680px); margin:0 auto; padding:16px 0 40px; }
.voting-desktop-shell { width:min(100% - 48px,1100px); padding:24px 0 56px; }
.voting-mobile-header { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; margin-bottom:18px; }
.voting-mobile-title { display:flex; grid-column:1; grid-row:1; flex-direction:column; align-items:center; gap:9px; text-align:center; }
.voting-mobile-header h1 { margin:0; color:#0f172a; font-size:24px; }
.voting-mobile-header a,.voting-mobile-back { color:#0f766e; font-weight:800; text-decoration:none; }
.voting-mobile-header-actions { display:flex; grid-column:1; grid-row:2; align-items:flex-end; justify-content:space-between; gap:10px; }
.voting-mobile-language { display:flex !important; width:auto !important; margin:0 !important; padding:0 !important; flex-direction:column; align-items:flex-start; gap:4px; background:transparent !important; border:0 !important; box-shadow:none !important; }
.voting-mobile-language-label { color:#475569; font-size:11px; font-weight:800; }
.voting-mobile-language-select { box-sizing:border-box; width:70px; min-width:70px; height:36px; margin:0; padding:4px 27px 4px 11px; color:#fff; background-color:#0f766e; border:1px solid #0b5f59; border-radius:9px; box-shadow:0 3px 9px rgba(15,118,110,.25); font-size:12px; font-weight:900; cursor:pointer; }
.voting-mobile-language-select:focus { outline:3px solid rgba(15,118,110,.2); outline-offset:2px; }
.voting-mobile-intro { color:#475569; }
.voting-mobile-card,.voting-mobile-panel,.voting-mobile-receipt { display:block; box-sizing:border-box; margin:0 0 14px; padding:18px; color:#1e293b; background:#fff; border:1px solid #dce3ec; border-radius:12px; box-shadow:0 8px 22px rgba(15,23,42,.07); text-decoration:none; text-align:left; }
.voting-mobile-card strong,.voting-mobile-card span,.voting-mobile-card small { display:block; margin-bottom:5px; }
.voting-mobile-panel h2,.voting-mobile-panel h3 { margin:10px 0; color:#0f172a; }
.voting-mobile-back { display:inline-block; margin:0 0 15px; }
.voting-option { display:flex; align-items:center; gap:11px; margin:0 0 10px; padding:14px; background:#f8fafc; border:1px solid #cbd5e1; border-radius:9px; font-weight:700; }
.voting-option input { width:20px; height:20px; margin:0; }
.voting-mobile-receipt { border-color:#86efac; background:#f0fdf4; }
.voting-mobile-receipt code { display:block; margin:9px 0 14px; padding:12px; overflow-wrap:anywhere; color:#14532d; background:#fff; border:1px solid #86efac; border-radius:7px; font-size:13px; line-height:1.5; user-select:all; }
.voting-copy-receipt { margin:0; }
.voting-done { color:#166534; font-weight:800; }
.voting-verification-error { margin:14px 0 0; padding:12px 14px; color:#991b1b; background:#fef2f2; border:1px solid #fca5a5; border-left:4px solid #dc2626; border-radius:8px; font-weight:800; }
.voting-delegate-choice { margin-top:24px; padding-top:20px; border-top:1px solid #dbe4ea; }
.voting-delegate-choice > span { display:block; width:max-content; margin:-31px auto 12px; padding:0 10px; color:#64748b; background:#fff; font-size:13px; font-weight:700; }
.voting-delegate-choice h4 { margin:0 0 10px; color:#0f172a; }
.voting-delegate-choice form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.voting-delegate-choice select,.voting-delegate-choice .button { margin:0; }
.voting-delegate-choice select.form-input-forms {
  box-sizing:border-box;
  width:100%;
  height:48px;
  min-height:48px;
  padding:0 42px 0 14px;
  color:#1e293b;
  background-color:#fff;
  border:1px solid #cbd5e1;
  border-radius:10px;
  font-size:15px;
  line-height:normal;
}
.voting-delegate-choice select.form-input-forms:focus { outline:3px solid rgba(15,118,110,.18); border-color:#0f766e; }
@media (max-width:560px) { .voting-delegate-choice form { grid-template-columns:1fr; } }

/* Gestión de delegaciones en votaciones */
.voting-delegations { margin-top:32px; }
.voting-individual-results { margin-top:32px; }
.voting-closed-list { margin-top:36px; }
.voting-closed-list .button { margin:0; white-space:nowrap; }
.voting-delegations-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:14px; }
.voting-delegations-heading h1 { margin:0 0 6px; }
.voting-delegations-heading p { margin:0; color:#64748b; }
.voting-delegations-count { flex:0 0 auto; padding:7px 12px; color:#0f766e; background:#ecfdf5; border:1px solid #99f6e4; border-radius:999px; font-size:13px; font-weight:800; }
.voting-delegations-table { overflow-x:auto; border:1px solid #dbe4ea; border-radius:12px; box-shadow:0 8px 24px rgba(15,23,42,.06); }
.voting-delegations-table table { width:100%; min-width:720px; margin:0; table-layout:auto; }
.voting-delegations-table th { padding:13px 16px; background:#f1f5f9; white-space:nowrap; }
.voting-delegations-table td { padding:13px 16px; vertical-align:middle; }
.voting-delegations-table th:first-child,.voting-delegations-table td:first-child { width:16%; }
.voting-delegations-table th:nth-child(2),.voting-delegations-table td:nth-child(2) { width:26%; }
.voting-delegations-table th:last-child,.voting-delegations-table td:last-child { width:58%; }
.voting-delegation-form { display:grid; grid-template-columns:minmax(260px,1fr) auto; align-items:center; gap:10px; margin:0; }
.voting-delegation-form select { box-sizing:border-box; width:100%; min-width:260px; height:42px; margin:0; padding:0 38px 0 12px; color:#1e293b; background-color:#fff; border:1px solid #b8c8d1; border-radius:9px; font-size:15px; }
.voting-delegation-form select:focus { outline:3px solid rgba(13,148,136,.18); border-color:#0f766e; }
.voting-delegation-form .button { min-width:100px; margin:0; white-space:nowrap; }
.voting-delegate-label { display:inline-block; padding:7px 11px; color:#0f4c5c; background:#ecfeff; border:1px solid #a5f3fc; border-radius:8px; font-weight:800; }
.voting-delegation-pending { display:block; margin-top:5px; color:#a16207; font-weight:700; }
.voting-delegation-accepted { display:inline-flex; align-items:center; gap:7px; color:#166534; font-weight:800; }
.voting-delegation-accepted::before { content:'✓'; display:grid; width:24px; height:24px; place-items:center; color:#fff; background:#16a34a; border-radius:50%; }
@media (max-width:760px) {
  .voting-delegations-heading { align-items:flex-start; flex-direction:column; gap:10px; }
  .voting-delegations-table table { min-width:640px; }
  .voting-delegation-form { grid-template-columns:minmax(220px,1fr) auto; }
  .voting-delegation-form select { min-width:220px; }
}
.password-policy-hint {
  color: #7a4b00;
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0.4rem auto 1rem;
  max-width: 34rem;
}

.gestoria-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  justify-content: center;
  white-space: nowrap;
}

.gestoria-actions form {
  display: inline-flex;
  margin: 0;
}

.gestoria-action-icon {
  align-items: center;
  background: #117f78;
  border: 0;
  border-radius: 0.45rem;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  width: 2.25rem;
}

.gestoria-action-icon:hover,
.gestoria-action-icon:focus-visible {
  background: #0b625d;
  color: #fff;
  outline: 2px solid #79d5cf;
  outline-offset: 2px;
}

.gestoria-action-icon:disabled {
  cursor: wait;
  opacity: 0.55;
}

.gestoria-action-icon svg {
  fill: currentColor;
  height: 1.15rem;
  width: 1.15rem;
}

.gestoria-action-delete {
  background: #a52a2a;
}

.gestoria-action-delete:hover,
.gestoria-action-delete:focus-visible {
  background: #7f1d1d;
}

.app-field-error {
  box-sizing: border-box;
  width: 100%;
  margin: 0.35rem 0 0.85rem;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

input.app-field-invalid,
select.app-field-invalid,
textarea.app-field-invalid {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14) !important;
}

.directory-community-filter {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  gap: 0.9rem;
  margin: 0 auto;
  max-width: 46rem;
  padding: 1rem 1.15rem;
  text-align: left;
  background: #ffffff;
  border: 1px solid #cbdfe3;
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(15, 54, 67, 0.08);
}

.directory-community-filter-icon {
  align-items: center;
  display: flex;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  justify-content: center;
  color: #ffffff;
  background: #117f78;
  border-radius: 0.7rem;
}

.directory-community-filter-icon svg {
  fill: currentColor;
  height: 1.4rem;
  width: 1.4rem;
}

.directory-community-filter-field {
  flex: 1 1 auto;
  min-width: 0;
}

.directory-community-filter label {
  display: block;
  margin: 0 0 0.4rem;
  color: #3f5964;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.directory-community-filter select {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 2.8rem 0.65rem 0.9rem;
  color: #173643;
  background-color: #f8fbfc;
  border: 1px solid #9fc4ca;
  border-radius: 0.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}

.directory-community-filter select:hover {
  background-color: #ffffff;
  border-color: #117f78;
}

@media (max-width: 600px) {
  .directory-community-filter {
    align-items: stretch;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .directory-community-filter-icon {
    flex-basis: 2.5rem;
    height: 2.5rem;
  }

  .directory-community-filter select {
    font-size: 0.9rem;
  }
}
.app-trial-banner {
	position: sticky;
	top: 0;
	z-index: 10000;
	padding: 8px 16px;
	background: #f59e0b;
	color: #231700;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.gestoria-payment-control { display:flex; min-width:185px; flex-direction:column; align-items:center; gap:7px; }
.gestoria-payment-control form { display:flex; gap:5px; margin:0; }
.gestoria-payment-status { padding:4px 9px; color:#475569; background:#f1f5f9; border-radius:999px; font-size:12px; font-weight:800; }
.gestoria-payment-status.is-cobrado { color:#166534; background:#dcfce7; }
.gestoria-payment-status.is-impago { color:#991b1b; background:#fee2e2; }
.gestoria-payment-button { padding:5px 8px; border:1px solid; border-radius:7px; font-size:11px; font-weight:800; cursor:pointer; }
.gestoria-payment-button.is-paid { color:#166534; background:#f0fdf4; border-color:#86efac; }
.gestoria-payment-button.is-overdue { color:#991b1b; background:#fff1f2; border-color:#fda4af; }
.payment-history-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 auto 22px; }
.payment-history-toolbar form { display:flex; align-items:flex-end; gap:10px; margin:0; }
.payment-history-toolbar select { min-width:280px; margin:0; }
@media (max-width:760px) { .payment-history-toolbar,.payment-history-toolbar form { align-items:stretch; flex-direction:column; } .payment-history-toolbar select { min-width:0; width:100%; } }
.gestoria-code-link { color:#0f6685; font-weight:900; text-decoration:none; }
.gestoria-code-link:hover,.gestoria-code-link:focus { color:#0b4f68; text-decoration:none; }
.gestoria-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:0 auto 24px; }
.gestoria-contact-card { padding:24px; background:#fff; border:1px solid #dbe5ea; border-radius:15px; box-shadow:0 10px 28px rgba(15,23,42,.07); text-align:left; }
.gestoria-contact-card-wide { grid-column:1/-1; }
.gestoria-contact-card h2 { margin:0 0 18px; color:#163f59; }
.gestoria-contact-card dl { display:grid; gap:0; margin:0; }
.gestoria-contact-card dl div { display:grid; grid-template-columns:minmax(130px,35%) 1fr; padding:10px 0; border-bottom:1px solid #e6edf1; }
.gestoria-contact-card dt { color:#64748b; font-weight:800; }
.gestoria-contact-card dd { margin:0; color:#172033; font-weight:650; overflow-wrap:anywhere; }
.gestoria-contact-actions { display:flex; flex-wrap:wrap; gap:10px; }
@media (max-width:700px) { .gestoria-contact-grid { grid-template-columns:1fr; } .gestoria-contact-card-wide { grid-column:auto; } .gestoria-contact-card dl div { grid-template-columns:1fr; gap:4px; } }
