.btn-small{
    display:inline-flex;
}

.documentos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#viewModal h5 {
    display: flex;
    justify-content: center;
}

#viewModal h5 > span {
    display: flex;
    align-items: center;
}

#viewModal h5 .badge {
    color: #fff;
}

#viewModal p {
    display: flex;
    align-items: center;
    margin: 0;
    color: #222 !important;
}

#viewModal p i {
    margin-right: 5px;
}

.detalles_cambio > div {
    display: flex;
    margin-bottom: 5px;
}

.detalles_cambio > div > i,
.detalles_cambio > div > b {
    margin: 0 5px;
}

.detalles-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom:20px;
}

.detalles-box > div{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    gap:10px;
}

.detalles-box span.badge,
.material-table .badge {
    white-space: nowrap;
    margin-left: 0;
    font-weight: 300;
    font-size: 0.8rem;
    color: #fff;
    background-color: #015aa9;
    border-radius: 2px;
}

.detalles-personales {
    display: block !important;
    width: 100%;
    max-width: 900px;
    background: #f8f9fb;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 16px 20px;
    box-sizing: border-box;
    text-align: left !important;
    margin-bottom:10px;
}

.detalles-personales h4 {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: #015aa9;
}

.detalles-personales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 20px;
}

.detalles-personales-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.detalles-personales-item b {
    font-size: 13px;
    color: #666;
}

.detalles-personales-item span {
    font-size: 14px;
    color: #222;
    word-break: break-word;
}

.material-button,
.material-button.waves-effect {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border-radius: 2px;
}

.material-button:hover, .material-button:active {
    color: rgba(0,0,0,0.87) !important;
    background: rgba(0,0,0,0.05);
    border: 0;
    box-shadow: none;
}

.material-button.mbi {
    border-radius: 50%;
    padding: 0;
    width: 40px;
    height: 40px;
}

.DNNModuleContent.ModLoginC .card .card-content {
    padding: 24px 0;
}

.group-container {
    position: relative;
    width: 100%;
    display: block;
    height: 48px;
    padding-right: 48px;
    border: 1px solid #eee;
}

.browser-default.group-text {
    height: 46px;
    line-height: 46px;
    /* font-family: roboto; */
    background: #f6f6f6;
    width: 100%;
    padding: 0 10px;
    border: none;
}

.group-btn {
    display: block;
    position: absolute;
    top: -1px;
    right: -1px;
    width: 48px;
    height: 48px;
    background: #007394;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

    .group-btn i {
        line-height: 48px;
        color: #fff;
    }


.paginado {
    margin-bottom: 20px;
    min-height: 44px;
    background: #e3e4e7;
    line-height: 44px;
    padding: 0 22px 0 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

    .paginado a {
        height: 44px;
        line-height: 44px;
        width: 32px;
        text-align: center;
        display: inline-block;
    }

        .paginado a.active {
            color: #000;
            font-weight: bold;
        }

        .paginado a > i {
            line-height: 44px;
            color: #2196f3
        }

    .paginado > span {
        display: block;
        font-size: 14px;
        line-height: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 5px 0 12px 0;
        width: 100%;
    }

/* Cabecera del perfil del congresista */
.perfil_head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 20px 0 28px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #e3f2f6 0%, #fff 70%);
    border: 1px solid #d7e9ee;
    border-radius: 14px;
}

/* círculo decorativo en la esquina */
.perfil_head::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(0, 115, 148, .07);
}

.perfil_avatar {
    flex: 0 0 auto;
    position: relative;
}

.perfil_image {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 115, 148, .25);
    background-color: #eceff1;
    background-position: center;
    background-size: cover;
}

.perfil_iniciales {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, #007394, #00a0c6);
}

.perfil_info {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.perfil_saludo {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #007394;
}

.perfil_nombre {
    margin: 2px 0 4px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1d1d1b;
    overflow-wrap: anywhere;
}

.perfil_email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #616161;
    overflow-wrap: anywhere;
}

.perfil_email i {
    font-size: 18px;
    color: #9e9e9e;
}

.perfil_datos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.perfil_dato {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.perfil_dato i {
    flex: 0 0 auto;
    font-size: 22px;
    color: #007394;
}

.perfil_dato > div {
    min-width: 0;
}

.perfil_etiqueta {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9e9e9e;
}

.perfil_valor {
    font-weight: 500;
    color: #212121;
    overflow-wrap: anywhere;
}

/* Móvil: avatar y nombre centrados, datos en dos columnas */
@media (max-width: 600px) {
    .perfil_head {
        flex-direction: column;
        gap: 14px;
        padding: 22px 16px;
        text-align: center;
    }

    .perfil_image {
        width: 88px;
        height: 88px;
    }

    .perfil_iniciales {
        font-size: 1.9rem;
    }

    .perfil_nombre {
        font-size: 1.4rem;
    }

    .perfil_email {
        justify-content: center;
    }

    .perfil_datos {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        text-align: left;
    }

    .perfil_dato {
        gap: 8px;
        padding: 8px 10px;
    }

    .perfil_dato i {
        font-size: 20px;
    }
}

@media (min-width: 480px) {
    .DNNModuleContent.ModLoginC .card .card-content {
        padding: 24px;
    }
}
/* Desktop */
@media (min-width: 1024px) {
    .paginado {
        display: block;
    }

        .paginado a {
            float: left;
        }

        .paginado > span {
            width: auto;
            font-size: 16px;
            line-height: 44px;
            float: right;
            padding: 0;
        }
}

@media (max-width: 768px) {
    .detalles-box {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .detalles-box > div {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 5px;
    }

    .detalles-box > div b,
    .detalles-box > div span,
    .detalles-box > div label {
        width: 100%;
        text-align: center;
    }

    .detalles-personales {
        padding: 15px;
    }

    .detalles-personales h4 {
        text-align: center;
    }

    .detalles-personales-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detalles-personales-item {
        align-items: center;
        text-align: center;
    }

    .detalles-personales-item b,
    .detalles-personales-item span,
    .detalles-personales-item label {
        width: 100%;
        text-align: center;
    }

    #lblResumen,
    #lblConflictoInteres,
    #lblFinanciacion {
        display: block;
        width: 100%;
    }
}