/* ============================================
   RESPONSIVE DIRECTORIO — TABLET
   Breakpoint: 768px – 1023px

   Ajustes intermedios del módulo Directorio:
   lista de registros, formularios, main grid.
   ============================================ */

/* --------------------------------------------
   GRID PRINCIPAL
   -------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* Main: 2 tarjetas por fila en tablet */
    .dir-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------
   FORMULARIOS
   -------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* Grid de 2 cols, gap ajustado */
    .dir-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dir-form-input {
        font-size: 14px;
    }
}

/* --------------------------------------------
   CABECERA DE SECCIÓN
   -------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    .dir-section-header {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================
   SUBVISTA: Propiedades — tablet
   ============================================ */
/* --------------------------------------------
   FORMULARIO DE PROPIEDAD
   -------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* Grid sigue en 2 columnas pero con gap ajustado */
    .prop-form-grid {
        gap: 12px;
    }

    .prop-form-input {
        font-size: 14px;
    }
}

/* --------------------------------------------
   FICHA DE PROPIEDAD
   -------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* 2 columnas con gap reducido en tablet */
    .prop-ficha-grid {
        gap: 12px;
    }

    .prop-ficha-card {
        padding: 16px 18px;
    }
}
