body {
    color: #566787;
    background: #f5f5f5;
    background-image: url(../img/fondocuadros.png);
    font-family: 'Varela Round', sans-serif;
    font-size: 13px;
}

form {
    display: flex;
  }
  
  input[type="text"] {
    flex: 1
  }

.table-wrapper {
    background: #fff;
    padding: 20px 25px;
    margin: 30px auto;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.table-wrapper .btn {
    float: right;
    color: #333;
    background-color: #fff;
    border-radius: 3px;
    border: none;
    outline: none !important;
    margin-left: 10px;
}

.table-wrapper .btn:hover {
    color: #333;
    background: #f2f2f2;
}

.table-wrapper .btn.btn-primary {
    color: #fff;
    background: #6213e296;
}

.table-wrapper .btn.btn-primary:hover {
    background: #03a3e7;
}

.table-title .btn {
    font-size: 13px;
    border: none;
}

.table-title .btn i {
    float: left;
    font-size: 21px;
    margin-right: 5px;
}

.table-title .btn span {
    float: left;
    margin-top: 2px;
}

.table-title {
    color: #fff;
    background: #6213e299;
    background-image: url(../img/fondo.png);
    padding: 16px 25px;
    margin: -20px -25px 10px;
    border-radius: 3px 3px 0 0;
}

.table-title h2 {
    margin: 5px 0 0;
    font-size: 18px;
}

.table-title h3 {
    margin: 5px 0 0;
    font-size: 16px;
}

.table-title h4 {
    margin: 5px 0 0;
    font-size: 14px;
}

.table-title h5 {
    margin: 5px 0 0;
    font-size: 12px;
}

.table-title h6 {
    margin: 5px 0 0;
    font-size: 10px;
}


.table-title #logo-box {
    color: #fff;
    /* background: #FFFFFF; */
    font-size: 18px;
    border-radius: 3px 3px 0 0;
}

.table-title .frmSearch {
            /*
            border: 0;
            background-color: #c6f7d0;
            border-bottom: 1px solid #6213e296; 
            border: 0.5px solid #6213e2d3; 
            background: transparent; */
            border: 0px;
            background-color: rgba(255, 255, 255, 0.245);
            outline: 0;
            margin: 2px 0px;
            padding: 40px;
            border-radius: 4px;
        }

        .table-title .search-box {
            /*
            border: 0;
            background-color: #c6f7d0;
            border-bottom: 1px solid #6213e296; 
            border: 0.5px solid #6213e2d3; 
            background: transparent; */
            border: 0px;
            background-color: rgba(255, 255, 255, 0.245);
            outline: 0;
            margin: 2px 0px;
            padding: 40px;
            border-radius: 4px;
        }

        #txtBuscaComunidad {
            width: 60%;
            padding: 10px;
            border: #a8d4b1 1px solid;
            border-radius: 4px; }

        .icEncabVentana .txtBuscaComunidad {
            border: 0px;
            background-color: rgba(255, 255, 255, 0.245);
            outline: 0;
            margin: 2px 0px;
            padding: 40px;
            border-radius: 4px;
        }

#txtMaxPorPag SELECT.form-control {
    width: 80px;
    margin: 0 5px;
}        

.show-entries SELECT.form-control {
    width: 80px;
    margin: 0 5px;
}

.table-filter .filter-group {
    float: right;
    margin-left: 15px;
}

.table-filter input,
.table-filter SELECT {
    height: 34px;
    border-radius: 3px;
    border-color: #ddd;
    box-shadow: none;
}

.table-filter {
    padding: 5px 0 15px;
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 5px;
}

.table-filter .btn {
    height: 34px;
}

.table-filter label {
    font-weight: normal;
    margin-left: 10px;
}

.table-filter SELECT,
.table-filter input {
    display: inline-block;
    margin-left: 5px;
}

.table-filter input {
    width: 200px;
    display: inline-block;
}

.filter-group SELECT.form-control {
    width: 110px;
}

.filter-icon {
    float: right;
    margin-top: 7px;
}

.filter-icon i {
    font-size: 18px;
    opacity: 0.7;
}

table.table tr th,
table.table tr td {
    border-color: #e9e9e9;
    padding: 12px 15px;
    vertical-align: middle;
}

table.table tr th:first-child {
    width: 60px;
}

table.table tr th:last-child {
    width: 80px;
}

table.table-striped thead {
    background-color: #bcbcbc99;
    color: #656565;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: bold;
}

table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfc89;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: bold;
}

table.table-striped tbody tr:nth-of-type(even) {
    background-color: #bcbcbc99;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: bold;
}

table.table-striped.table-hover tbody tr:hover {
    background: #f9fbf8;
}

table.table th i {
    font-size: 13px;
    margin: 0 5px;
    cursor: pointer;
}

table.table td a {
    font-weight: bold;
    color: #566787;
    display: inline-block;
    text-decoration: none;
}

table.table td a:hover {
    color: #2196F3;
}

table.table td a.view {
    width: 30px;
    height: 30px;
    color: #2196F3;
    border: 2px solid;
    border-radius: 30px;
    text-align: center;
}

table.table td a.view i {
    font-size: 22px;
    margin: 2px 0 0 1px;
}

table.table .avatar {
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 10px;
}

.status {
    font-size: 30px;
    margin: 2px 2px 0 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 10px;
}

.text-success {
    color: #10c469;
}

.text-info {
    color: #62c9e8;
}

.text-warning {
    color: #FFC107;
}

.text-danger {
    color: #ff5b5b;
}

.pagination {
    float: right;
    margin: 0 0 5px;
}

.pagination li a {
    border: none;
    font-size: 13px;
    min-width: 30px;
    min-height: 30px;
    color: #999;
    margin: 0 2px;
    line-height: 30px;
    border-radius: 2px !important;
    text-align: center;
    padding: 0 6px;
}

.pagination li a:hover {
    color: #666;
}

.pagination li.active a {
    background: #6213e2;
}

.pagination li.active a:hover {
    background: #f213e296;
}

.pagination li.disabled i {
    color: #ccc;
}

.pagination li i {
    font-size: 16px;
    padding-top: 6px
}

.hint-text {
    float: left;
    margin-top: 10px;
    font-size: 13px;
}

.irisTextBox {
        border: 0;
        outline: 0;
        background: transparent;
        /* border-bottom: 1px solid gray; */
        border-bottom: 1px solid #6213e296;
        color: gray; 
}

.irisTextBox2 {
    border: 0;
    outline: 0;
    background: transparent;
    /* border-bottom: 1px solid gray; 
    border-bottom: 1px solid #6213e296;*/
    color: gray; 
}

.irisH4 {
    /*border: 0;
    outline: 0;
    background: transparent;
     border-bottom: 1px solid gray; 
    border-bottom: 1px solid #6213e296; */
    /* color: rgb(170, 164, 164); */
    font-size: 18px;

}


.icVentanaCompleta {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../img/engranes.gif') 50% 50% no-repeat rgb(249, 249, 249);
    opacity: .8;
}

/*
.ajaxdataset {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../img/engranes.gif') 50% 50% no-repeat rgb(228, 210, 248);
    opacity: .8;
} 

 .VentanaCompleta {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../img/engranes.gif') 50% 50% no-repeat rgb(249, 249, 249);
    opacity: .8;
} */

        .frmSearch {
            border: 6px solid #a8d4b1;
            /* background-color: rgba(54, 25, 25, .2); */
            background-color: rgba(255, 255, 255, .7);
            margin: 2px 0px;
        }

        #country-list {
            float: right;
            list-style: none;
            margin-top: -3px;
            padding: 0;
            width: 190px;
            position: absolute;
        }

        #country-list li {
            padding: 10px;
            background: #979797;
            color: #fff;
            border-bottom: #bbb9b9 1px solid;
        }

        #country-list li:hover {
            background: #C5C5C5;
            cursor: pointer;
        }

        #search-box {
            width: 60%;
            padding: 10px;
            border: #a8d4b1 1px solid;
            border-radius: 4px;
        }

.ic-comunidad-busqueda {
    position: relative;
    width: 100%;
    max-width: 420px;
}

#ComSelectIncre {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 9999;
}

#condo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

#condo-list li {
    padding: 10px 12px;
    background: #fff;
    border-bottom: #ececec 1px solid;
    color: #212529;
}

#condo-list li:last-child {
    border-bottom: 0;
}

#condo-list li:hover {
    background: #f3f7ff;
    cursor: pointer;
}

#BuscaComunidad {
        width: 60%;
        padding: 10px;
        border: #a8d4b1 1px solid;
        border-radius: 4px; }

#search-box {
        width: 60%;
        padding: 10px;
        border: #a8d4b1 1px solid;
        border-radius: 4px; }

#txtBuscaComunidad {
        width: 60%;
        padding: 10px;
        border: #a8d4b1 1px solid;
        border-radius: 4px; }

.ic-comunidad-busqueda #txtBuscaComunidad {
    width: 100%;
}

#TabConceCarAbo.tr {
  cursor: pointer
}


.selected {
  /* background-color: red; */
  color: red;
  font-weight: bold
}        

.ic-header-shell {
    position: relative;
    z-index: 300;
    min-height: 0;
    padding: 10px 24px 12px;
    background: linear-gradient(120deg, rgba(28, 68, 111, 0.92) 0%, rgba(89, 18, 119, 0.86) 45%, rgba(3, 163, 231, 0.78) 100%), url(../img/fondo.png);
    background-size: cover;
    border-radius: 8px;
}

/* ic-header-top: una sola fila con título a la izquierda y empresa a la derecha */
.ic-header-shell .ic-header-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.ic-header-shell .ic-header-brand-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.ic-header-shell .ic-header-company-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    opacity: 0.92;
    white-space: nowrap;
}

.ic-header-shell .ic-header-subtitle {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 1px;
}

.ic-header-shell .ic-header-tablero {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    opacity: 0.80;
}

.ic-header-shell .ic-header-debug {
    min-height: 0;
    margin-top: 0;
    font-size: 12px;
    letter-spacing: 0.4px;
}

.ic-header-shell .ic-header-search {
    margin-top: 6px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
}

.ic-header-shell .ic-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
}

.ic-header-shell .ic-header-actions i {
    padding: 4px;
    border-radius: 6px;
    color: #ffffff;
    transition: color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.ic-header-shell .ic-header-actions i:hover {
    color: #9ca3af;
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.ic-header-shell .ic-header-search-row {
    margin-top: 10px;
}

/* ic-header-search-flex: fila del selector con info-boxes a la derecha */
.ic-header-shell .ic-header-search-flex {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}

.ic-header-shell .ic-comunidad-busqueda {
    flex: 0 0 auto;
    max-width: 392px; /* 70% de 560px: reducción del 30% solicitada */
    width: 100%;
}

/* Cuatro recuadros informativos a la derecha del selector */
/* Wrapper columna que apila fila-cobros + fila-BCA verticalmente */
.ic-info-boxes-stack {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;   /* §17: label row movido al selector → gap normalizado */
}

.ic-header-shell .ic-header-info-boxes {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.ic-info-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    flex: 1;
    min-height: 42px;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ic-info-box-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.6px;
    line-height: 1;
    margin-bottom: 2px;
}

.ic-info-box-value {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.ic-header-shell #txtBuscaComunidad {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
}

.ic-header-shell #txtBuscaComunidad::placeholder {
    color: #6b7280;
}

@media (max-width: 991px) {
    .ic-header-shell .ic-header-top {
        display: block;
    }

    .ic-header-shell .ic-header-company {
        margin-top: 8px;
        text-align: left;
    }

    .ic-header-shell .ic-header-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================================================
   MATRIZ DE CARGOS/ABONOS MODAL - FOUNDATION STYLES
   Owner: AA08 (Consumer adapter layer)
   Namespace: .ic-matriz-cargos-abonos-*
   Version: 1.0.0-scaffold-fase1 (30-mar-2026)
   ============================================================================ */

.ic-matriz-cargos-abonos-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 16px 20px;
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
}

.ic-matriz-cargos-abonos-header .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ic-matriz-cargos-abonos-body {
    padding: 20px;
    background: #ffffff;
    min-height: 300px;
}

.ic-matriz-cargos-abonos-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: 12px;
}

.ic-matriz-cargos-abonos-loading .spinner-border {
    color: #6213e2;
}

.ic-matriz-cargos-abonos-grid-container {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
}

.ic-matriz-cargos-abonos-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ic-matriz-cargos-abonos-actions .btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 4px;
}

.ic-matriz-cargos-abonos-footer {
    border-top: 1px solid #f0f0f0;
    padding: 12px 20px;
    background: #fafbfc;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================================================
   SISTEMA DE TARJETAS DE PREVIEW (ic-preview-*)
   Cuadrícula de resumen de configuración de comunidad.
   Sprint: Card Datos Generales 20260412
   ============================================================================ */

.ic-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.ic-preview-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ic-preview-card-title {
    background:
        linear-gradient(
            120deg,
            rgba(28, 68, 111, 0.95) 0%,
            rgba(89, 18, 119, 0.90) 45%,
            rgba(89, 18, 119, 0.55) 65%,
            rgba(3, 163, 231, 0.35) 100%
        ),
        url(../img/fondo.png);
    background-size: cover;
    color: #fff;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
}

.ic-preview-card-title span,
.ic-preview-card-title > :not(.btn) {
    color: #fff;
}

.ic-preview-card-title .btn {
    padding: 2px 8px;
    line-height: 1;
    background-color: #ffffff;
    color: #6213e2;
    border: 1px solid rgba(98, 19, 226, 0.45);
    font-size: 15px;
    flex-shrink: 0;
    font-weight: 600;
}

.ic-preview-card-title .btn:hover {
    background-color: #f0e8ff;
    border-color: #6213e2;
    color: #4a0fb0;
}

.ic-preview-card-title .btn-success {
    color: #19875b;
    border-color: rgba(25, 135, 84, 0.45);
}

.ic-preview-card-title .btn-success:hover {
    background-color: #e6f4ee;
    border-color: #19875b;
    color: #146c43;
}

.ic-preview-card-title .btn-secondary {
    color: #6c757d;
    border-color: rgba(108, 117, 125, 0.45);
}

.ic-preview-card-title .btn-info {
    color: #0a58ca;
    border-color: rgba(13, 110, 253, 0.45);
}

.ic-preview-table-wrap {
    overflow-x: auto;
}

.ic-preview-table {
    font-size: 11px;
    margin-bottom: 0;
}

/* ============================================================================
   ELEMENTOS AUXILIARES DE SECCIONES Y MINI BARRA
   ic-seccion-divider · ic-mini-toolbox · ic-mini-btn · ic-toggle-seccion
   ============================================================================ */

.ic-seccion-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0 4px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.ic-seccion-titulo {
    flex: 1;
}

.ic-func-id {
    font-size: 10px;
    font-weight: 400;
    color: #6c757d;
    letter-spacing: 0.3px;
}

.ic-toggle-seccion {
    background: none;
    border: none;
    padding: 0 4px;
    cursor: pointer;
    color: #6c757d;
    font-size: 12px;
    line-height: 1;
}

.ic-toggle-seccion:hover {
    color: #495057;
}

.ic-mini-toolbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 12px;
}

.ic-mini-toolbox-title {
    font-weight: 600;
    color: #495057;
    margin-right: 4px;
    white-space: nowrap;
}

.ic-mini-toolbox-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.ic-mini-btn {
    padding: 3px 10px;
    font-size: 11px;
    line-height: 1.4;
    border-radius: 4px;
}
}

/* ── §16 H-BCA-HEADER-TABLERO: fila 2 — balance bancario ───────────── */
/* §17 TKT-TILE-COBRADO-FIX: ic-bca-label-row reubicado bajo el selector de comunidad */
.ic-bca-label-row {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 6px;
}
/* §17: tiles BCA simétricos con fila 1 — mismo padding/tamaño, sin border-top extra */
.ic-bca-box .ic-info-box-label {
    color: #6213e2;
}
.ic-bca-label {
    color: #6213e2;
}
.ic-bca-balance {
    color: #6213e2;
}